Delete a Vatcode

Delete a Vatcode from your company.

DELETE vatcodes/:vatCodeUniqueId

Response

Upon successful delete of a Vatcode in the Basecone system, a 200 http status code will be returned.

If something goes wrong, an error message with failure details will be given together with a suitable http error status code.

Example response

{
    "vatCodeUniqueId": "cb43b612-bc67-4815-b7b5-83ccbf26d97d",
    "error": null,
    "hasError": false
}

Possible error responses

Status code Error code Details
400 invalid_request_payload The Vatcode is already deleted.
403 forbidden User have no access to this resource.
404 resource_not_found The requested resource is not found.