---
title: "PUT /V1.0/Departments"
method: PUT
path: "/V1.0/Departments"
tags: ["Departments"]
---

# PUT /V1.0/Departments

`PUT /V1.0/Departments`

## Request

- Base URL: `https://webservices5.autotask.net/ATServicesRest`
- URL: `https://webservices5.autotask.net/ATServicesRest/V1.0/Departments`
- Auth: none declared. Required headers: `ApiIntegrationCode`, `UserName`, `Secret`

## Headers

- `ApiIntegrationCode` string, required
- `UserName` string, required
- `Secret` string, required
- `ImpersonationResourceId` string

## Request body

- DepartmentModel
  - `id` integer
  - `description` string
  - `name` string
  - `number` string
  - `primaryLocationID` integer

## Response `200`

OK

- OperationResultModel
  - `itemId` Object

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/autotask/apis/datto-autotask-psa-rest-api.md) - [All operations](https://skmtc.dev/autotask/apis/datto-autotask-psa-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/autotask/apis/datto-autotask-psa-rest-api/revisions/33004189221c?raw)
