Cost Centre
Update a cost centre
PATCH
/
accounting
/
cost-centres
/
{id}
Authorizations
Authorization
string
headerrequiredValue for the Authorization header parameter.
Path Parameters
id
string
requiredCostCentre identifier
Body
name
string
requiredThe name of the cost centre, which is displayed in the UI
Maximum length:
255
type
enum<string>
requiredThe type of the cost centre, which is used for exports
Available options:
KOST1
, KOST2
status
enum<string>
default: activerequiredThe status of the cost centre
Possible values:
active
: The cost centre is active and can be used and referencedarchived
: The cost centre is archived and cannot be referenced anymore. It also disappears from the UI.
Available options:
active
, archived
Response
200 - application/json
name
string
requiredThe name of the cost centre, which is displayed in the UI
Maximum length:
255
type
enum<string>
requiredThe type of the cost centre, which is used for exports
Available options:
KOST1
, KOST2
status
enum<string>
default: activerequiredThe status of the cost centre
Possible values:
active
: The cost centre is active and can be used and referencedarchived
: The cost centre is archived and cannot be referenced anymore. It also disappears from the UI.
Available options:
active
, archived
id
string
code
string
The code of the cost centre, which is used for exports
createdAt
string
The date and time when the cost centre was created
updatedAt
string
The date and time when the cost centre was last updated
Was this page helpful?