Delete Cost Centers By External Id

Delete a Cost Center by an informed external Id from an informed company.

DELETE costcenters/external/:companyExternalId/:costCenterExternalId

Response

Upon successful delete of a Cost Center in 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

Possible error responses

Status code Error code Details
400 invalid_request_payload costCenterExternalId cannot be empty
403 Forbidden User is not allowed to the company
404 Not Found The request resource is not found.