PATCH
/
accounting
/
cost-centres
/
{id}

Authorizations

Authorization
string
header
required

Value for the Authorization header parameter.

Path Parameters

id
string
required

CostCentre identifier

Body

name
string
required

The name of the cost centre, which is displayed in the UI

Maximum length: 255
status
any
required

The status of the cost centre

Possible values:

  • active: The cost centre is active and can be used and referenced
  • archived: The cost centre is archived and cannot be referenced anymore. It also disappears from the UI.
type
enum<string>
required

The type of the cost centre, which is used for exports

Available options:
KOST1,
KOST2

Response

200 - application/json
name
string
required

The name of the cost centre, which is displayed in the UI

Maximum length: 255
status
any
required

The status of the cost centre

Possible values:

  • active: The cost centre is active and can be used and referenced
  • archived: The cost centre is archived and cannot be referenced anymore. It also disappears from the UI.
type
enum<string>
required

The type of the cost centre, which is used for exports

Available options:
KOST1,
KOST2
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

id
string
updatedAt
string

The date and time when the cost centre was last updated