v1

latestOpenAPI 3.1.02026-08-0662251219.8 KB
Cost Centers

Update cost center

This endpoint updates a cost center by ID.

put/v2/companies/{companyId}/cost-centers/{costCenterId}

Request body

namestring required
externalIdstring

Example request

{
  "id": {
    "id": "731ccbca-0415-6fe1-d235-c324dfbe7423"
  },
  "name": "CostCenter",
  "externalId": "external-id"
}

Response

Updated Successfully