New docs? Check out the change log to learn more!
curl --request PUT \
--url https://discord.com/api/v10/channels/{channel_id}/permissions/{overwrite_id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "<unknown>",
"allow": 123,
"deny": 123
}
'{
"code": 123,
"message": "<string>",
"retry_after": 123,
"global": true
}curl --request PUT \
--url https://discord.com/api/v10/channels/{channel_id}/permissions/{overwrite_id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "<unknown>",
"allow": 123,
"deny": 123
}
'{
"code": 123,
"message": "<string>",
"retry_after": 123,
"global": true
}Discord bot token
204 response for set_channel_permission_overwrite