Skip to content

Update Department

Request

Updates an existing department's name or archived status.

Security
ApiKey
Path
idstring, (uuid)required

ID of the resource

Body
namestring or null

The name of the department used to categorize employees into functional teams for capacity planning.

archivedboolean or null

Indicates whether the department is archived and no longer active for resource assignment or reporting.

curl -i -X PATCH \
  'https://developer.getparallax.com/_mock/api-documentation/swagger/v1/departments/{id}' \
  -H 'Content-Type: application/json-patch+json' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE' \
  -d '{
    "name": "string",
    "archived": true
  }'

Responses

OK

Response
No content