GamebeastDocs
Dashboard
Organization APIRoles

List org-level (default project role) grants

GET
/organization/{organizationId}/grants

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/grants"
[  {    "id": 0,    "organizationId": 0,    "subjectType": "user",    "subjectId": 0,    "roleId": 0,    "createdAt": null  }]