v1

latestOpenAPI 3.0.02026-07-24161168406.5 KB
Cost Center
Cost Center

Update a cost center

put/os/v1/cost-centers/{uuid}

Path parameters

uuidstring required
Example:d6162ae1-d589-42c5-a185-af279dafcc71

UUID of the Cost Center to update

Request body

namestring required

cost center name

descriptionstring required

cost center description

Example request

{
  "name": "CC-001",
  "description": "RH Cost Center"
}

Response

The cost center has been successfully updated.

pathstring required

Request path

durationstring required

Request duration

method'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' required

HTTP method used

Example response

{
  "result": {
    "name": "CC-001",
    "externalCode": "HR-F98",
    "description": "RH Cost Center",
    "company": {
      "id": "1",
      "name": "Gupy"
    }
  }
}