Members
Add member
| Parameter | Type | Required | Description |
|---|---|---|---|
email | body | Yes | User’s email address |
role_id | body | No | Role to assign (defaults to Member) |
members:invite scope.
Update member role
| Parameter | Type | Required | Description |
|---|---|---|---|
role_id | body | Yes | New role ID |
members:manage_roles scope.
Remove member
members:remove scope.
Authentication: Organization member + members:remove scope (or self-removal).
Roles
Every organization starts with two default roles:| Role | Description |
|---|---|
| Admin | All scopes assigned — full organization access |
| Member | No scopes — basic authenticated access |
List roles
Create role
| Parameter | Type | Required | Description |
|---|---|---|---|
name | body | Yes | Role display name |
scope_ids | body | No | Array of scope IDs to assign |
members:manage_roles scope.
Get role
members:manage_roles scope.
Update role
| Parameter | Type | Description |
|---|---|---|
name | body | Updated role name |
scope_ids | body | Updated scope assignments |
members:manage_roles scope.
Delete role
members:manage_roles scope.
Scopes
List assignable scopes
Get scope
User invitations
Invite user
| Parameter | Type | Required | Description |
|---|---|---|---|
email | body | Yes | User’s email address |
orgId | body | No | Organization to add the user to |
roleId | body | No | Role to assign in the organization |
orgId is provided, the user is invited to the platform and added to the organization in one step.
Authentication: Organization member + members:invite scope.
