Skip to content

Remove Space Admin

DELETE
/space/admins/{targetUserId}

Removes a user’s Admin role from the current Space. Only the Owner can remove admins. The assignment must exist — returns 404 otherwise. The Space must be active.

targetUserId
required
string
X-Space-Id
required
string format: uuid

UUID of the target Space (tenant boundary). Validated against user access.

Unauthorized — missing or invalid JWT

Forbidden — insufficient permissions

Resource not found