Skip to main content
PATCH
Change who can change a relationship's links

Authorizations

Authorization
string
header
required

API key authentication. Use "Bearer <api_key>" or "Api-Key <api_key>".

Path Parameters

key
string
required
Pattern: ^[a-z][a-z0-9_]{0,62}$

Body

application/json
expected_revision
integer
required

The revision the change is based on.

Required range: x <= 9007199254740991
permission
enum<string>
required

Who can change the relationship's links: team_manage (users with the admin or partnerships role) or read_only (nobody; links can only be viewed).

Available options:
team_manage,
read_only
partner_visibility
enum<string>

Whether partners see the relationship's links: shared shows a partner a link, read-only, only when they can already see the records at both ends; private shows none.

Available options:
private,
shared

Response

200 - application/json

Default Response

key
string
required
uuid
string
required
label
string
required
inverse_label
string | null
required
permission
enum<string>
required

Who can change the relationship's links: team_manage (users with the admin or partnerships role) or read_only (nobody; links can only be viewed).

Available options:
team_manage,
read_only
partner_visibility
enum<string>
required

Whether partners see the relationship's links: shared shows a partner a link, read-only, only when they can already see the records at both ends; private shows none.

Available options:
private,
shared
revision
number
required