# Update department

This endpoint updates a department by ID. Only the fields present in the request body are changed.

Endpoint: PUT /v2/departments/{id}
Version: 1.0
Security: OAuth2

## Path parameters:

  - `id` (string, required)

## Header parameters:

  - `Idempotency-Key` (string,null)

## Request fields (application/json):

  - `name` (string,null)
    Name of the department. Cannot be blank when supplied.

  - `description` (string,null)
    Description of the department. Pass null or an empty string to clear it.

## Response 200 fields (application/json):

  - `id` (string, required)

  - `name` (string, required)
    Name of the department

  - `description` (string,null)
    Description of the department


