PUT
/
v1
/
accounts
/
relationships
/
types
/
{id}
curl --request PUT \
  --url https://platform.thena.ai/v1/accounts/relationships/types/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "Parent",
  "inverseRelationshipId": "A123",
  "metadata": {}
}'
{
  "id": "ART123",
  "name": "Parent",
  "inverseRelationshipId": "ART124",
  "inverseRelationship": "Subsidiary",
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "metadata": {}
}

Authorizations

x-api-key
string
header
required

Enter your API key

Path Parameters

id
string
required

Body

application/json

Response

200
application/json

Operation successful

The response is of type object.