Deactivate a cost center
PATCH/cost-centers/:code/deactivate
Soft delete (deactivate) a cost center by setting it as inactive.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
Successfully deactivated cost center
Bad request - invalid code
Unauthorized
Forbidden - request denied by authorization, or blocked by the API firewall
Cost center not found
Too many requests - rate limited by the API firewall; wait out the Retry-After delay before retrying
Response Headers
Retry-After
Delay in seconds a client must wait before retrying the request
Internal server error