---
title: "PATCH /organization/{organizationId}/department/{departmentId}/rename"
method: PATCH
path: "/organization/{organizationId}/department/{departmentId}/rename"
tags: ["organization", "department"]
---

# PATCH /organization/{organizationId}/department/{departmentId}/rename

`PATCH /organization/{organizationId}/department/{departmentId}/rename`

## Request

- Base URL: `https://app.teable.ai/api`
- URL: `https://app.teable.ai/api/organization/{organizationId}/department/{departmentId}/rename`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/teable/apis/teable-app/docs/organization/:organizationId/department/:departmentId/rename/patch.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `organizationId` string, required
- `departmentId` string, required

## Request body

- object
  - `name` string, required

## Response `200`

Rename department successfully

---

[API](https://skmtc.dev/teable/apis/teable-app.md) - [All operations](https://skmtc.dev/teable/apis/teable-app/llms.txt) - [OpenAPI document](https://skmtc.dev/teable/apis/teable-app/revisions/7515f3b33d79?raw)
