Dm channels
Update dm channel
Changed onUpdates a DM channel's settings, such as its display name. Only a channel admin can update it.
Required permissions (one of):
- dms:channel:manage
- support_chat:create
patch/dm_channels/{id}
Request
- Base URL: https://api.whop.com/api/v1
- URL: https://api.whop.com/api/v1/dm_channels/{id}
- Auth: one of:
- HTTP bearer
- HTTP bearer
Path parameters
idstring required
The unique identifier of the DM channel to update.
Request body
Response
A successful response
Example response
{
"created_at": "123.45",
"last_message_at": "2023-12-01T05:00:00.401Z",
"name": "Project Alpha Team"
}Changes
- info
the security scope
dms:channel:managewas added to the endpoint's security schemebearerAuth - info
the security scope
support_chat:createwas removed from the endpoint's security schemebearerAuth
- info
- info
the security scope
dms:channel:managewas added to the endpoint's security schemebearerAuth - info
the security scope
support_chat:createwas removed from the endpoint's security schemebearerAuth
- info