Update channel positions. Requires manage_channels permission. Reorders channels and optionally changes parent categories and permission locks.
curl --request PATCH \
--url https://api.fluxer.app/v1/guilds/{guild_id}/channels \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
[
{
"id": "<string>",
"position": 4503599627370495,
"parent_id": "<string>",
"lock_permissions": true
}
]
'{
"code": "ACCESS_DENIED",
"message": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.
The ID of the guild
No Content
curl --request PATCH \
--url https://api.fluxer.app/v1/guilds/{guild_id}/channels \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
[
{
"id": "<string>",
"position": 4503599627370495,
"parent_id": "<string>",
"lock_permissions": true
}
]
'{
"code": "ACCESS_DENIED",
"message": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}