Skip to main content
PATCH
/
guilds
/
{guild_id}
/
channels
Update channel positions
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>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.

Path Parameters

guild_id
string<snowflake>
required

The ID of the guild

Body

application/json
id
string<snowflake>
required
position
integer<int64>

New position for the channel

Required range: 0 <= x <= 9007199254740991
parent_id
string<snowflake> | null

New parent category ID

lock_permissions
boolean

Whether to sync permissions with the new parent

Response

No Content