cURL
curl --request DELETE \ --url https://base_url/api/v1/corporations/{id} \ --header 'Authorization: Bearer <token>'
{ "error": { "type": "CLIENT_INVALID_REQUEST_BODY", "doc_url": "https://sales-tax-docs.commenda.io/", "title": "Failed to validate the request body", "detail": "<string>", "status": 400, "instance": "<string>", "Errors": [ { "details": "<string>", "pointer": "<string>" } ] } }
Delete a corporation by id.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique identifier of the corporation to delete.
Delete one corporation response.