Archive legal entity
POST/companies/legal_entities/:id/archive
JSON-RPC
companies.legal_entities.archive
This should be the default action if you want to "remove" a legal entity. Full removal of the legal entity is dangerous and could be considered only if you are sure that there are no reference left (e.g. statistics, clients, etc).
Request
Responses
- 200
- 400
- 401
- 404
- 422
- 500
Number of the affected rows.
The request contains invalid arguments or is malformed
Access is not authorized
Requested object was not found
A logical error occurred, making the request unprocessable
An unexpected error occurred