Delete CostUnit
Delete a costUnit from your company.
DELETE costUnits/:costUnitId
Response
Upon successful delete of a costUnit 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 | json_parse_error | Unable to parse JSON |
400 | invalid_request_payload | CostUnit Id cannot be empty |
403 | Forbidden | User is not allowed to the costUnit company |
404 | Not Found | The request resource is not found. |