RoleUsage
Where a custom role is used, as far as you can see.
Shape
grantsarray of RoleGrant
- The RoleGrant schema
atAccessScopeWhere the grant was made.
- The AccessScope schema
- full_pathstring
- idstring
- typeScopeTypegrouprepository
- created_atstring · date-time
- grant_idGrantId (string · uuid)
- subjectGrantSubject
- expires_atstring · date-time or nulloptional
- hidden_scopesbooleanWhether the role is also granted somewhere you cannot see. Those places are never named.
- limitsinteger · int64Limits capping someone at this role, across the organization.
- next_tokenstring or nulloptional
Example
Synthesized example{
"grants": [
{
"at": {
"full_path": "acme/payments-api",
"id": "id-d6b7",
"type": "group"
},
"created_at": "2026-10-17T02:38:48Z",
"grant_id": "f3c4529e-689c-4c14-b4d4-4ab962109347",
"subject": {
"principal": {
"id": "20dd8392-fd49-4e0a-805b-ff9f0e5be976",
"kind": "user",
"username": "tomas"
}
}
}
],
"hidden_scopes": false,
"limits": 17,
"next_token": "next-token-4a20"
}
Graph
Used inside
No schema contains this one.
Contains
Used by
Sent by 0 operations
No operation takes it as a request body.
Returned by 1 operation