Delete a legal entity
DELETE/legal-entities/:uuid
Deletes the Legal entity and its sub-accounts, and removes it from A-Cube's metadata service (SMP). Its documents and reports stay readable. Creating it again with the same OIB restores it.
Request
Responses
- 204
- 404
- 409
- 502
LegalEntity resource deleted
The legal entity does not exist
The legal entity cannot be deleted while one or more rules are not met
The legal entity could not be removed from A-Cube's metadata service (SMP); it was not deleted