PUT
/
contacts
/
{contactId}
/
relations
/
{relatedContactId}
curl --request PUT \
  --url https://api.smokeball.com/contacts/{contactId}/relations/{relatedContactId} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json-patch+json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "relatedContactId": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2",
  "businessRole": "Bookkeeper"
}'
{
  "id": "<string>",
  "href": "<string>",
  "relation": "<string>",
  "method": "GET"
}

Authorizations

x-api-key
string
header
required
Authorization
string
header
required

Path Parameters

contactId
string
required

Body

Response

202
application/json

When request is accepted. Returns a hypermedia 'Link' object of the contact relation to be updated.

The response is of type object.