v2
latestOpenAPI 3.1.02026-08-075421692.0 MBDiscord
Delete a Discord guild role
Permanently deletes a role from the guild and removes it from every member. This cannot be undone.
Requires the bot to hold Manage Roles, and the target role must sit below the bot's highest role.
delete/v1/discord/guilds/{guildId}/roles/{roleId}
Path parameters
guildIdstring required
Discord guild snowflake ID
roleIdstring required
Discord role snowflake ID
Query parameters
accountIdstring required
SocialAccount _id of the Discord account bound to this guild
Response
Role deleted.