PATCH
/
entities
/
{id}
curl --request PATCH \
  --url https://api.antei.com/entities/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "country": "<string>",
  "tax_id": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "country": "<string>",
  "tax_id": "<string>",
  "is_primary": true
}

This endpoint allows you to update a subsidiary entity.

Note: You cannot update your primary entity via API for compliance and data consistency reasons. If you need to update the primary entity, please contact support.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json

Fields to update for the entity

The body is of type object.

Response

200 - application/json

Entity updated

The response is of type object.