v1

latestOpenAPI 3.1.02026-08-063776831.4 MB
User

Get Current User Permissions

Returns the current authenticated user's permissions organized by tenant and resource. Response format: {"tenant-id": {"resource-name": ["action1", "action2"]}}

get/users/me/permissions

Headers

tenant-idstring

Response

User permissions retrieved successfully. Returns a map where keys are tenant IDs and values are resource permission maps.

object required

Map of tenant IDs to resource permission maps.

Example shape:

{
  "tenant-123-mock": {
    "roster": ["read", "create", "update"],
    "role": ["read"],
    ...
  },
  "tenant-456-mock": {
    ...
  },
  ...
}