Skip to main content
PUT
/
api
/
servers
/
{serverID}
/
channels
/
order
Reorder channels
curl --request PUT \
  --url http://localhost:8091/api/servers/{serverID}/channels/order \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "channelIds": [
    "<string>"
  ]
}
'
{
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

Session token obtained from /api/auth/login or /api/auth/register. Pass as: Authorization: Bearer

Path Parameters

serverID
string
required

Server ID

Body

application/json
channelIds
string[]
required

Ordered array of channel IDs

Response

Channels reordered