Skip to main content
Organizations use role-based access control. Members are assigned roles, and roles contain scopes that grant specific permissions.

Members

Add member

If the user doesn’t have a platform account, they receive an invitation email. Authentication: Organization member + members:invite scope.

Update member role

Authentication: Organization member + members:manage_roles scope.

Remove member

Members can remove themselves. Removing other members requires the members:remove scope. Authentication: Organization member + members:remove scope (or self-removal).

Roles

Every organization starts with a set of default roles, created with a description explaining what each one grants: Non-personal organizations additionally get two service roles, which only service accounts may hold and only org:service-accounts holders may manage:

List roles

Returns all roles with their assigned scopes. Authentication: Organization member required.

Create role

Authentication: Organization member + members:manage_roles scope.

Get role

Authentication: Organization member + members:manage_roles scope.

Update role

Omitted fields are left as they are. Default roles’ descriptions can be edited like any other. Authentication: Organization member + members:manage_roles scope.

Delete role

Cannot delete the default Admin role. Members assigned to the deleted role should be reassigned first. Authentication: Organization member + members:manage_roles scope.

Scopes

List assignable scopes

Returns scopes that can be assigned to organization roles. Authentication: User authentication required.

Get scope

Authentication: User authentication required.

User invitations

Invite user

If orgId is provided, the user is invited to the platform and added to the organization in one step. Authentication: Organization member + members:invite scope.