New docs? Check out the change log to learn more!
curl --request PATCH \
--url https://discord.com/api/v10/guilds/{guild_id}/widget \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"channel_id": "<unknown>",
"enabled": true
}
'{
"enabled": true,
"channel_id": "<unknown>"
}curl --request PATCH \
--url https://discord.com/api/v10/guilds/{guild_id}/widget \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"channel_id": "<unknown>",
"enabled": true
}
'{
"enabled": true,
"channel_id": "<unknown>"
}Discord bot token