---
title: "/departments/:id"
method: PATCH
path: "/departments/{id}"
---

# /departments/:id

`PATCH /departments/{id}`

## Request

- Base URL: `https://develop.snipeitapp.com/api/v1`
- URL: `https://develop.snipeitapp.com/api/v1/departments/{id}`
- Auth: none required

Edit a department

## Path parameters

- `id` integer, required

## Request body

- object
  - `name` string, required: Department name

## Response `200`

200

- object
  - `status` string
  - `messages` string
  - `payload` object
    - `id` integer
    - `name` string
    - `user_id` integer
    - `company_id` unknown
    - `location_id` integer
    - `manager_id` unknown
    - `notes` unknown
    - `created_at` string
    - `updated_at` string
    - `deleted_at` unknown
    - `image` unknown

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `938bea5e8375`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/snipeitapp/apis/snipe-it-rest-api/changes/departments/:id/patch.md)

---

[API](https://skmtc.dev/snipeitapp/apis/snipe-it-rest-api.md) - [All operations](https://skmtc.dev/snipeitapp/apis/snipe-it-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/snipeitapp/apis/snipe-it-rest-api/revisions/938bea5e8375?raw)
