---
title: "Update desk"
method: PUT
path: "/desks/{id}"
tags: ["User Desks"]
---

# Update desk

`PUT /desks/{id}`

### Update Desk Details

This endpoint allows the client to update the details of a specific desk.

#### Request Body

- `name` (string, optional): The updated name of the desk.
    
- `userIds` (array): An array of user IDs associated with the desk.

## Request body

- object
  - `name` string
  - `userIds` unknown[]
    - unknown

## Response `201`

Successful operation

- object
  - `userDesk` object
    - `id` string
    - `name` string
    - `userIds` string[]

## Other responses

- `404` — Error

---

[API](https://skmtc.net/commpeak/apis/dialer-api-v2-0-1.md) · [All operations](https://skmtc.net/commpeak/apis/dialer-api-v2-0-1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/commpeak/dialer-api-v2-0-1/versions/eacecf960bb6/schema)
