Admin API
Members
Add members to a workspace, change their role or remove them.
Each member holds exactly one role in a workspace: viewer, editor or admin. Roles live in the database, never in a token.
Managing members is an admin operation, and every change is written to the audit log.
Operations
| Operation | Request | Who may call it |
|---|---|---|
| listMembers | GET /v1/workspaces/{ws}/members | admin |
| addMember | POST /v1/workspaces/{ws}/members | admin |
| removeMember | DELETE /v1/workspaces/{ws}/members/{userId} | admin |
| updateMember | PATCH /v1/workspaces/{ws}/members/{userId} | admin |
This is the console’s API, not a public one: requests reach it only through the console’s server, for a signed-in user. There are no API keys for it yet. It is listed so you know what each action does and which role it needs.