Access Relationship API
List Access Relationships
List access relationships for a subject (app instance, resource, role, or team).
GET
List Access Relationships
Authentication and permissions
Token requirements: User-based token (OAuth) or Organization-scoped API key or Team-scoped API key. Send a bearer access token for one of these identities. The permissions and resource restrictions below also apply.
Permissions joined by + are all required; or separates alternatives. Full-access keys still cannot call endpoints marked unsupported. Team keys must allow every team checked by the request. OAuth access depends on the user’s roles and resource access.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
The kind of subject to list relationships for.
Available options:
ACCESS_RELATIONSHIP_SUBJECT_TYPE_UNSPECIFIED, ACCESS_RELATIONSHIP_SUBJECT_TYPE_APP_INSTANCE, ACCESS_RELATIONSHIP_SUBJECT_TYPE_RESOURCE, ACCESS_RELATIONSHIP_SUBJECT_TYPE_ENTITLEMENT, ACCESS_RELATIONSHIP_SUBJECT_TYPE_TEAM, ACCESS_RELATIONSHIP_SUBJECT_TYPE_KNOWLEDGE_ITEM The ID of the subject (app_instance_id | resource_id | entitlement_id | team_id), disambiguated by subject_type.
Filter by target ID (user or group ID).
Filter by target type.
Available options:
ACCESS_RELATIONSHIP_TARGET_TYPE_UNSPECIFIED, ACCESS_RELATIONSHIP_TARGET_TYPE_USER, ACCESS_RELATIONSHIP_TARGET_TYPE_GROUP Filter by relationship type.
Available options:
ACCESS_RELATIONSHIP_TYPE_UNSPECIFIED, ACCESS_RELATIONSHIP_TYPE_OWNER Maximum number of results to return per page.
Token for retrieving the next page of results.

