New docs? Check out the change log to learn more!
curl --request PATCH \
--url https://discord.com/api/v10/guilds/{guild_id}/channels \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
[
{
"id": "<unknown>",
"position": 1,
"parent_id": "<unknown>",
"lock_permissions": true
}
]
'{
"code": 123,
"message": "<string>",
"retry_after": 123,
"global": true
}curl --request PATCH \
--url https://discord.com/api/v10/guilds/{guild_id}/channels \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
[
{
"id": "<unknown>",
"position": 1,
"parent_id": "<unknown>",
"lock_permissions": true
}
]
'{
"code": 123,
"message": "<string>",
"retry_after": 123,
"global": true
}Discord bot token
204 response for bulk_update_guild_channels