Cost CentersDelete Cost Center

Delete Cost Center

Deletes a cost center from the company by ID (UUID).

Rules:

Use this endpoint to remove cost centers created by mistake or that will no longer be used.

curl -X DELETE "https://api-sandbox.contasimples.com/cost-centers/v1/cost-centers/fdafbfa7-5eeb-4d96-84aa-82b7c2e1b0ff" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{}
DELETE
/cost-centers/v1/cost-centers/{id}
DELETE
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Bearer token from OAuth 2.0 client credentials. Format: Bearer {token}

Bearer token from OAuth 2.0 client credentials. Format: Bearer {token}
path
idstring
Required

Unique identifier (UUID) of the cost center.

Format: uuid
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Bearer token from OAuth 2.0 client credentials. Format: Bearer {token}

Path Parameters

idstring
Required

Unique identifier (UUID) of the cost center.

Example:
fdafbfa7-5eeb-4d96-84aa-82b7c2e1b0ff

Responses