Delete legal person
DELETE {{baseUrl}}/entities/legal-persons/:entityId
Deletes a Legal Person. If the entity is already linked to a customer - even a deleted one, this action will be forbidden. Also if the entity is linked to another active entity, the operation will also be prevented.
Entities deletion is an irreversible action. Contrary to customers, the operation is an actual HARD deletion meaning that the item is completely removed from the database.
Allowed roles : EDITOR
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
tangany-version | number | (Required) API version | |
Accept | string | ||
_tangany-data | string | ||
If-Match | null |
RESPONSES
status: OK