Users and membership
POST /v2/users accepts the account roles ADMIN, MEMBER, and ANNOTATOR. It cannot create an Account Member - UI Only user.
invite_mode takes one of these values:
An identical
EMAIL_LINK request for a pending invitation returns 200 and does not create a second invitation. Inactive users cannot be reinvited.
Removing organization membership also removes the user from all of that organization’s spaces.
Roles
Custom role permissions use the form
{RESOURCE}_{ACTION}, such as DATASET_CREATE.
An update to permissions replaces the existing list, so the request must include every permission the role should keep.
Predefined roles cannot be deleted, and a custom role cannot be deleted while it has role bindings.
Role bindings
Only
role_id can be updated on a binding, so changing the user or resource requires a new binding.
Resource restrictions
The restriction list is filtered to what the caller can manage after each page is read, so a page can be empty while
has_more is still true. Paging ends when has_more is false.