Guilds
Leave guild
Removes the current user from the specified guild membership. When delete_messages is true, the caller's authored messages in the guild are deleted before leaving; that path requires sudo mode verification.
delete/users/@me/guilds/{guild_id}
Path parameters
guild_idstring snowflake required
The ID of the guild
Query parameters
delete_messagesstring
Also delete every message the caller has authored in the guild before leaving
Request body
Response
No Content
Changes
No recorded changes to this endpoint across all 1 revision of this API.