v21

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01144108427.9 KB
Authorization

List Assignments

List role assignments scoped to one user.

  • Omitting user_id defaults to the caller — no superuser needed.
  • Passing user_id == self.id is the same as omitting it.
  • Passing a different user_id requires superuser; otherwise 403.

Results are always filtered by the resolved user_id. Admins who need cross-user lookups make one call per user. Paginated via limit / offset (default 100, max 200).

get/api/v1/authz/role-assignments

Query parameters

user_idstring uuid nullable

Filter by user

Filter by user

role_idstring uuid nullable

Filter by role

Filter by role

domain_typestring nullable
domain_idstring uuid nullable
limitinteger
offsetinteger

Response

Successful Response

assigned_atstring date-time required
assigned_bystring uuid nullable required
domain_idstring uuid nullable required
domain_typestring required
idstring uuid required
role_idstring uuid required
user_idstring uuid required