Skip to main content
PATCH
/
api
/
messaging
/
channels
/
{channelId}
Update channel
curl --request PATCH \
  --url http://localhost:3000/api/messaging/channels/{channelId} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "metadata": {}
}
'
{
  "success": true,
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "serverId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "type": "text",
    "description": "<string>",
    "metadata": {}
  }
}

Path Parameters

channelId
string<uuid>
required

Body

application/json
name
string
metadata
object

Response

Channel updated successfully

success
boolean
data
object