Skip to content

Get My Role

GET
/space/my-role

Returns the authenticated user’s effective (highest) role in the current Space. Hierarchy: owner > admin > operator > viewer.

X-Space-Id
required
string format: uuid

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

object
role
required

The user’s effective (highest) role in the Space. Hierarchy: owner > admin > operator > viewer.

string
Allowed values: owner admin operator viewer
Example
admin

Unauthorized — missing or invalid JWT

Forbidden — insufficient permissions

Resource not found