Access Relationship API
Create Access Relationship
Create an access relationship on a subject (app instance, resource, role, or team). Use relationship_type=OWNER to add an owner.
POST
Create Access Relationship
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
The kind of subject the relationship is on.
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 The ID of the subject (app_instance_id | resource_id | entitlement_id | team_id), disambiguated by subject_type.
The type of relationship.
Available options:
ACCESS_RELATIONSHIP_TYPE_UNSPECIFIED, ACCESS_RELATIONSHIP_TYPE_OWNER The ID of the target (user or group).
The type of the target.
Available options:
ACCESS_RELATIONSHIP_TARGET_TYPE_UNSPECIFIED, ACCESS_RELATIONSHIP_TARGET_TYPE_USER, ACCESS_RELATIONSHIP_TARGET_TYPE_GROUP Response
Success
The created access relationship.
Create Access Relationship

