---
title: "Update dm channel"
method: PATCH
path: "/dm_channels/{id}"
tags: ["Dm channels"]
---

# Update dm channel

`PATCH /dm_channels/{id}`

Update the settings of an existing DM channel, such as its display name. Only an admin of the channel can perform this action.

Required permissions:
 - `dms:channel:manage`

## Path parameters

- `id` string, required

## Request body

- object — Parameters for UpdateDmChannel
  - `custom_name` string, nullable — A new custom display name for the DM channel. For example, 'Project Discussion'.

## Response `200`

A successful response

- DmChannel — A messaging channel that can be a one-on-one DM, group chat, company support conversation, or platform-level direct message.
  - `created_at` string, required — The time the entity was created (in milliseconds since Unix epoch)
  - `id` string, required — The unique identifier for the entity
  - `last_message_at` string, date-time, nullable, required — The timestamp when the most recent message was sent in this channel. Null if no messages have been sent.
  - `name` string, nullable, required — A custom display name assigned to this channel by the user. Null if no custom name has been set.

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `422` — Verification required
- `429` — Too many requests
- `500` — Internal server error

---

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