Actions43
- Add Reaction
- Add Role to Member
- Add Thread Member
- Ban Member
- Bulk Delete Messages
- Create Channel
- Create Invite
- Create Role
- Create Scheduled Event
- Create Thread
- Create Thread From Message
- Delete Channel
- Delete Message
- Delete Role
- Delete Scheduled Event
- Delete Slash Command
- Edit Channel
- Edit Role
- Edit Scheduled Event
- Edit Thread
- Fetch Member
- Fetch Message
- Fetch Message History
- Kick Member
- List Scheduled Events
- List Slash Commands
- Pin Message
- Register Context Menu Command
- Register Slash Command
- Remove Own Reaction
- Remove Role From Member
- Remove Thread Member
- Respond to Interaction
- Send Message
- Send Message with Poll
- Send Modal
- Set Bot Activity
- Set Bot Status
- Set Member Nickname
- Timeout Member
- Unban Member
- Unpin Message
- Update Message
Delete Role
AI-generatedSummary
Deletes a role from the specified Discord guild using the bot. Optionally records a reason in the guild audit log.
Inputs
- Guild ID (required) — ID of the guild containing the role. Can be passed from a trigger with
{{ $JSON.guildId }}. - Role ID (required) — ID of the role to delete.
- Reason — Optional reason recorded in the guild audit log.
Output shape
A list of n8n items containing the deleted role data.
The source excerpt does not show the operation’s implementation or its return shape, so the output shape cannot be confirmed.