GamebeastDocs
Dashboard
Organization APIRoles

List RBAC v2 roles (built-in + custom)

GET
/organization/{organizationId}/v2/roles

Authorization

personalAccessTokenAuth
AuthorizationBearer <token>

Personal access token (prefixed gb_pat_). Acts on behalf of its owner and can never exceed the owner's own permissions. Send it as Authorization: Bearer <token>.

In: header

Path Parameters

organizationId*number

Response Body

application/json

curl -X GET "https://example.com/organization/0/v2/roles"
[  {    "id": 0,    "organizationId": 0,    "name": "string",    "slug": "string",    "description": "string",    "kind": "built-in",    "permissions": [      "string"    ]  }]