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 two default roles:

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

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.