Delete a bulk of cost centers

Delete a bulk of cost centers from your company.

PUT costCenters/delete/bulk

Request details

The put request will contain all the required information to delete a bulk of cost centers.

Request properties

Property Type Description Optional
GeneralLedgerId [] Guid [] An array of unique identifiers of cost centers. No

Example bulk delete cost centers request

[
    "00000000-0000-0000-0000-000000000000",
    "00000000-0000-0000-0000-000000000000",
    "00000000-0000-0000-0000-000000000000",
    "{general-ledger-guid}"
]

Response

Upon successful delete of a bulk of customers 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.

Possible error responses

Status code Error code Details
403 forbidden User does not have access to the Cost Centers' Company.
404 resource_not_found One provided cost center or more was not found.