cURL
curl --request DELETE \ --url https://base_url/api/v1/registrations/{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>" } ] } }
Allows customers to remove a sales tax registration with validation_status in PENDING, INVALID, or VALIDATION_IN_PROGRESS states. Customers should reach out directly to Commenda for registrations in VALID state.
validation_status
PENDING
INVALID
VALIDATION_IN_PROGRESS
VALID
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique identifier of the registration to delete.
Sales tax registration response