Actions44
- Message Actions
- User Profile Actions
- Server Actions
- Channel Actions
- Role Actions
- Member Actions
- Presence Actions
- Invite Actions
Member → Unban Member
AI-generatedSummary
Ban a member from a Discord server.
Inputs
- serverId (required) — Server ID to target the guild.
- userId (required) — User ID of the member to ban.
Output shape
object
Returns { success: boolean, memberId: string, banned: boolean } indicating the ban result.
Examples
Example 1: Ban a member from a server
Provide the server ID and the user ID of the member to be banned. Optionally add a reason via the node's reason parameter if needed.