New docs? Check out the change log to learn more!
curl --request POST \
--url https://discord.com/api/v10/guilds/{guild_id}/bulk-ban \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"user_ids": [
"<string>"
],
"delete_message_seconds": 302400
}
'{
"banned_users": [
"<string>"
],
"failed_users": [
"<string>"
]
}curl --request POST \
--url https://discord.com/api/v10/guilds/{guild_id}/bulk-ban \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"user_ids": [
"<string>"
],
"delete_message_seconds": 302400
}
'{
"banned_users": [
"<string>"
],
"failed_users": [
"<string>"
]
}Discord bot token