List the org's members
Returns every active member with their email, status, and role-name list.
Headers
X-Workspace-IdSelects the workspace this request operates in, by workspace UUID or slug (e.g. a sandbox workspace for test integrations). Omitted: the organization's default live workspace. Unknown workspace: 404; workspace outside your organization: 403. Discover workspaces via GET /workspaces.
Workspace UUID or slug.
List the org's members › Responses
OK
Remove a member from the organization
Drops the user from every role, removes the membership, and invalidates their sessions. Refuses to remove the last administrator (409 LAST_ADMIN_GUARD).
path Parameters
idUser UUID
User UUID
Headers
X-Workspace-IdSelects the workspace this request operates in, by workspace UUID or slug (e.g. a sandbox workspace for test integrations). Omitted: the organization's default live workspace. Unknown workspace: 404; workspace outside your organization: 403. Discover workspaces via GET /workspaces.
Workspace UUID or slug.
Remove a member from the organization › Responses
No Content
Assign and unassign a member's roles
Adds the user to each role in assign and removes them from each in unassign. The change reflects in their next refresh-token call. Refuses to remove the admin role from the last admin (409 LAST_ADMIN_GUARD).
path Parameters
idUser UUID
User UUID
Headers
X-Workspace-IdSelects the workspace this request operates in, by workspace UUID or slug (e.g. a sandbox workspace for test integrations). Omitted: the organization's default live workspace. Unknown workspace: 404; workspace outside your organization: 403. Discover workspaces via GET /workspaces.
Workspace UUID or slug.
Assign and unassign a member's roles › Responses
No Content
Update a member's status
Sets the member's status to "active" or "suspended" (pending is system-managed). The last-admin guard refuses to suspend the last administrator (409 LAST_ADMIN_GUARD).
path Parameters
idUser UUID
User UUID
Headers
X-Workspace-IdSelects the workspace this request operates in, by workspace UUID or slug (e.g. a sandbox workspace for test integrations). Omitted: the organization's default live workspace. Unknown workspace: 404; workspace outside your organization: 403. Discover workspaces via GET /workspaces.
Workspace UUID or slug.
Update a member's status › Responses
No Content