---
title: "Update a department"
method: PATCH
path: "/departments/{department_id}"
tags: ["Teams"]
---

# Update a department

`PATCH /departments/{department_id}`

## Request

- Base URL: `https://b2b.revolut.com/api/1.0`
- URL: `https://b2b.revolut.com/api/1.0/departments/{department_id}`
- Auth: HTTP bearer

Update the name of a specific department.

For more information, see the guides: [Manage departments](https://developer.revolut.com/docs/guides/manage-accounts/teams/manage-departments).

## Path parameters

- `department_id` string, uuid, required

## Request body

- object
  - `name` string, required: The new name for the department.

## Response `204`

Department was updated.

## Other responses

- `400`: Bad request Returned when the request body is invalid. For example, when the `name` field is missing or exceeds 100 characters.
- `401`: Unauthorized – authentication credentials are missing or invalid Returned when the request was not fulfilled because authentication has failed or has not been provided.
- `403`: Action forbidden - insufficient permissions to perform this action Returned, for example, when you don't have permissions necessary to perform this action.
- `404`: Not found Returned when the department that you're trying to update doesn't exist.
- `409`: Conflict Returned when a department with the given name already exists.
- `default`: Unexpected error

---

[API](https://skmtc.dev/revolut/apis/business-api.md) - [All operations](https://skmtc.dev/revolut/apis/business-api/llms.txt) - [OpenAPI document](https://skmtc.dev/revolut/apis/business-api/revisions/be089d9fa8b4?raw)
