Skip to main content

Deactivate a Cost Center

Endpoint​

DELETE https://api.verifik.co/v2/cost-centers/{id}

Deactivates a cost center. The record is not removed: active becomes false, and usage history stays attached to it. New requests can no longer use this center.

headers​

NameValue
Content-Typeapplication/json
AuthorizationBearer <token>

path parameters​

id​

Type: string
Required: Yes

The cost center id to deactivate.

Request Example​

curl -X DELETE "https://api.verifik.co/v2/cost-centers/6acfbdda92451bac5d0a7ebe" \
-H "Authorization: Bearer $VERIFIK_TOKEN"

Response Example​

{
"data": {
"_id": "6acfbdda92451bac5d0a7ebe",
"client": "69c2b824295cd7d276e478ad",
"name": "Spain operations",
"code": "SPAIN-OPS",
"country": "ES",
"active": false,
"createdAt": "2026-10-14T17:37:30.469Z",
"updatedAt": "2026-10-14T18:05:44.010Z"
}
}

Send active: true on Update a cost center to turn it back on.

Error Responses​

{
"message": "cost_center_not_found",
"code": "NotFound"
}