TeamAccessPage
A page of the grants a team holds, on groups and repositories you can see.
Shape
grantsarray of TeamGrant
- The TeamGrant schema
atAccessScopeWhere the grant was made. It reaches there and everything beneath that inherits access.
- The AccessScope schema
- full_pathstring
- idstring
- typeScopeTypegrouprepository
- created_atstring · date-time
- grant_idGrantId (string · uuid)
roleRoleView
- The RoleView schema
- namestringThe role's display name: a built-in name such as
Developer, or the custom role's name. - rankAccessLevelguestreporterdevelopermaintainerownerThe built-in rank the role counts as wherever a rank is compared, such as a protected branch's minimum.
- builtinAccessLevelguestreporterdevelopermaintainerowneror nulloptionalSet when the role is built in.
- customRoleId (string · uuid) or nulloptionalSet when the role is one the organization defined.
- expires_atstring · date-time or nulloptional
granted_byActorSummary or nulloptional
- The ActorSummary schema
- emailstring
- idstring
- usernamestring
- avatar_urlstring or nulloptional
- reasonstring or nulloptional
- hidden_scopesbooleanWhether the team also holds access somewhere you cannot see. Those places are never named.
- next_tokenstring or nulloptional
Example
Synthesized example{
"grants": [
{
"at": {
"full_path": "acme/payments-api",
"id": "id-b615",
"type": "group"
},
"created_at": "2026-10-09T17:46:19Z",
"grant_id": "b84afa53-dab4-4b83-9e78-627f87402b05",
"role": {
"name": "payments-api",
"rank": "guest"
}
}
],
"hidden_scopes": false,
"next_token": "next-token-be6b"
}
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