cURL
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>" }
Sets the display order of channels in the server by providing an ordered array of channel IDs.
Session token obtained from /api/auth/login or /api/auth/register. Pass as: Authorization: Bearer
Server ID
Ordered array of channel IDs
Channels reordered