# Update

## Update

<mark style="color:orange;">`PUT`</mark> `https://{{account_id}}.acquire.io/api/v1/account/department/{{departmentId}}`

Update a department. The `departmentId` must be passed in to the endpoint as a path parameter.

#### Path Parameters

| Name         | Type    | Description       |
| ------------ | ------- | ----------------- |
| departmentId | integer | The department ID |

#### Headers

| Name          | Type   | Description         |
| ------------- | ------ | ------------------- |
| Authorization | string | Bearer {{API\_KEY}} |

{% tabs %}
{% tab title="200 " %}

```
{
  "data": {
    "id": 14,
    "name": "My Depts",
    "status": "active",
    "users": []
  }
}
```

{% endtab %}
{% endtabs %}

## Body(raw)

```
{
  "name": "My Depts",
  "status": "active"
}
```
