---
title: "/departments/:id/merge"
method: POST
path: "/departments/{id}/merge"
---

# /departments/:id/merge

`POST /departments/{id}/merge`

Merges an existing department with a target one in your account. Required scope: `w_departments`. Accessible with all token types.

## Path parameters

- `subdomain` string, required
- `id` string, required

## Request body

- object
  - `target_department_id` string, required — The target department identifier that we want the given department id to be merged with
  - `force` boolean — When false then first will make a check to see if there are any affected resources with this action and then will return error with the affected resources, if any were found. When true then will bypass those affected resources and will proceed to the merge anyway

## Response `200`

200

- object
  - `id` string
  - `name` string
  - `parent_id` string
  - `sample` boolean

## Other responses

- `400` — 400
- `401` — 401
- `404` — 404
- `409` — 409
- `422` — 422

---

[API](https://skmtc.net/workable/apis/root.md) · [All operations](https://skmtc.net/workable/apis/root/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/workable/root/versions/c4116349c08d/schema)
