Skip to main content
POST
Preview a relationship permission change

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
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
expected_revision
integer

The revision the change is based on. Leave it out to preview against the current revision, returned as based_on_revision.

Required range: x <= 9007199254740991
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

relationship
object
required

The relationship as the change would leave it; its revision is still the current one.

changed
enum<string>[]
required
Available options:
permission,
partner_visibility
impact
object
required
based_on_revision
number
required