---
title: "Update details of department"
method: PUT
path: "/v1/department/{id}"
---

# Update details of department

`PUT /v1/department/{id}`

## Request

- Base URL: `https://api-smartflo.tatateleservices.com`
- URL: `https://api-smartflo.tatateleservices.com/v1/department/{id}`
- Auth: none required
- TypeScript: <https://skmtc.dev/tatatelebusiness/apis/smartflo-base-api-config/docs/v1/department/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

This API allows you to update the details of particular department.

## Path parameters

- `id` string, required

## Headers

- `Authorization` string, required

## Request body

- object
  - `name` string, required: The name of the department. For example, Counselling.
  - `description` string, required: The description of the department.For example, Department without queue.
  - `ring_strategy` string, required: When a customer dials an extension, there are several strategies that can be devised to distribute the calls as per the availability and the number of agents.
  - `timeout_dest_type` string, required: The type of destination where the call should be landed if no one answers the call, for example, hangup.
  - `timeout` integer[]: The time in seconds for which the call tries to connect for each agent in this department. For example, 4.
  - `destination` string[]: The unique id of the destination where the call will be land. For example, Extension||eid.

## Response `200`

200

- object

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/tatatelebusiness/apis/smartflo-base-api-config.md) - [All operations](https://skmtc.dev/tatatelebusiness/apis/smartflo-base-api-config/llms.txt) - [OpenAPI document](https://skmtc.dev/tatatelebusiness/apis/smartflo-base-api-config/revisions/f41acb27d695?raw)
