Access
Access decides who may do what, and where: role bindings grant a role to a user or group at a scope. Check what someone can reach and why.
Add bindings
Grants one role at an organization, project or agent account scope to each listed user or group, all or nothing; an existing binding comes back with `created: false`. An optional `expires_at` must be in the future and is refused on an organization scope (422). Requires permission to manage that role at the scope; returns 201 with the bindings.
Delete binding
Removes one role binding and revokes the access it gave the user or the group's members. Requires permission to manage that role at the scope. Returns 409 when it is the organization's last direct Org Owner, and 204 with no body otherwise.
Check access
Explains whether a user may perform an action on a resource: the chain of group, role and scope that allows it, or the nearest missing link. Limited to the caller's own user unless the caller is an Org Owner or Org Admin.
List members
Lists everyone holding a role at the `scope` given as `<type>:<id>`, inherited roles included, with each row labelled with its source. Group members are expanded only for a caller who may view users or manage the scope. Requires read or manage access to the scope.
List principals
Lists up to 50 users and 50 groups of the scope's organization that the caller may grant a role to there, filtered by name or email with `q`. Requires permission to manage access at the scope; the Everyone group appears only for an Org Owner or Org Admin.
Get what a user can reach
Returns everything a user's live role bindings reach, grouped by organization, project and agent account, with each binding's source. Limited to the caller's own user unless the caller is an Org Owner or Org Admin.