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
guild_idstring snowflake required
The ID of the guild
user_idstring snowflake required
The ID of the user
Request body
Response
No Content
Changes
No recorded changes to this endpoint across all 1 revision of this API.