Update cost center

Updates a cost center. You can update the name, archive status, approver, delegate, and delegate expiry. Passing 'null' for 'approver_id', 'delegate_id', or 'delegate_expiry' does not clear those fields; they remain unchanged

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The unique ID of the cost center

Body Params
string

The new name for the cost center

boolean

Set to 'true' to archive the cost center, or 'false' to unarchive it

integer

The ID of the user to set as approver. The user must belong to one of the cost center's companies. Passing 'null' does not clear the field

integer

The ID of the user to set as delegate. The delegate must belong to one of the cost center's companies. Passing 'null' does not clear the field

string

The expiry date for the delegate in YYYY-MM-DD format. Passing 'null' does not clear the field

string

Identifier used to associate this cost center with a corresponding record in an external ERP system

Headers
string
required

Your Perk API key

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json