Assign Space Admin
POST
/space/admins
Assigns a user as Admin of the current Space. Only the Owner can assign admins. Idempotent — if the user is already an admin, this is a no-op. The Space must be active (not deleted).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ” X-Space-Id
required
string format: uuid
UUID of the target Space (tenant boundary). Validated against user access.
Request Body required
Section titled “Request Body required ”object
userId
required
User ID from the IdP
string
Example
usr_abc123Responses
Section titled “ Responses ”object
id
required
Assignment ID
string format: uuid
Example
770e8400-e29b-41d4-a716-446655440000Unauthorized — missing or invalid JWT
Forbidden — insufficient permissions
Resource not found
Conflict — resource already exists or constraint violated