Qyra
Referencev2

List role assignees

List the users, groups, and service accounts currently assigned to a role. Used by the delete-confirmation modal to explain why a role cannot be deleted while still in use.

GET/api/v2/orgs/{orgUuid}/roles/{roleUuid}/assignees

Authentication: personal access token. The spec defines an api_key security scheme — send an Authorization: ApiKey <your-personal-access-token> header (value format: ApiKey <your key>). A session_cookie scheme (connect.sid) exists for browser sessions. Operations in this spec declare security: [], an artifact of the upstream spec generator — authentication is still enforced by the server.

Path parameters

NameTypeRequiredDescription
orgUuidstringYes
roleUuidstringYes

Responses

200 — Success

{
  "results": [
    {
      "projectName": "string",
      "projectUuid": "string",
      "assigneeName": "string",
      "assigneeId": "string",
      "kind": "organization_user"
    }
  ],
  "status": "ok"
}

default — Error

{
  "error": {
    "data": "string",
    "message": "string",
    "name": "string",
    "statusCode": 0
  },
  "status": "error"
}