← Back to schema index

RoleAssignmentSummary

A role the user account currently holds and the scope it holds it in. Revoked assignments are left out.

Properties

FieldTypeDescription
key*string

The role key, prefixed with its plane: platform. for team roles and org. for organization roles.

scope_type*string

Scope of the assignment — platform: The whole platform; organization: One organization.

scope_id*string | null

Organization identifier when scope_type is organization. null in the platform scope.

Used in operations

  • GET /v1/users/me
  • GET /v1/admin/users
  • POST /v1/admin/users
  • GET /v1/admin/users/{id}
  • PUT /v1/admin/users/{id}
  • PUT /v1/admin/users/{id}/suspend
  • GET /v1/admin/users/recent

Referenced by schemas