Guilds
Ban guild member
Ban guild member. Requires ban_members permission. Prevents user from joining; optionally deletes recent messages and sets ban expiry duration.
put/guilds/{guild_id}/bans/{user_id}
Path parameters
The ID of the guild
The ID of the user
Request body
Response
No Content