Skip to main content
PUT
Update Access Relationship

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The ID of the access relationship.

Body

application/json
relationshipType
enum<string>

The type of relationship.

Available options:
ACCESS_RELATIONSHIP_TYPE_UNSPECIFIED,
ACCESS_RELATIONSHIP_TYPE_OWNER
targetId
string

The ID of the target (user or group).

targetType
enum<string>

The type of the target.

Available options:
ACCESS_RELATIONSHIP_TARGET_TYPE_UNSPECIFIED,
ACCESS_RELATIONSHIP_TARGET_TYPE_USER,
ACCESS_RELATIONSHIP_TARGET_TYPE_GROUP

Response

Success

data
data · object

The updated access relationship.