List the grants (shares) on a resource
List the grants (shares) on a resource
Lists the role grants on a single resource — who it is shared with. Authorization: org admin, or the caller holds the resource’s share permission on the target (`space:share`/`spacetype:share`; `settings` is admin-only); otherwise 403 `forbidden`. Query: `resourceType` (`space` | `spacetype` | `settings`) and `externalId` (required); optional `assignment` = `direct` | `indirect` filters to directly-assigned vs inherited grants. Returns the resource’s grants.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
resourceType
Allowed values:
externalId
assignment
Allowed values:
Response
The subjects and roles granted on the resource.
assignment
roleAssignments
memberships
The memberships behind the assignments, for rendering a share list.
Errors
403
Forbidden Error