Guilds

Transfer guild ownership

Transfer guild ownership. Only current owner can transfer. Requires sudo mode verification (MFA). Transfers all guild permissions to a new owner.

post/guilds/{guild_id}/transfer-ownership

Path parameters

string snowflake required
OR
integer required

The ID of the guild

Request body

passwordstring
mfa_method'totp' | 'webauthn'

MFA method to use for verification

mfa_codestring

MFA verification code from an authenticator app

webauthn_challengestring

WebAuthn challenge string

Response

Success

idstring snowflake required
namestring required

The name of the guild

iconstring nullable

The hash of the guild icon

bannerstring nullable

The hash of the guild banner

banner_widthinteger
banner_heightinteger
splashstring nullable

The hash of the guild splash screen

splash_widthinteger
splash_heightinteger
splash_card_alignment0 | 1 | 2 required

The alignment of the splash card

embed_splashstring nullable

The hash of the embedded invite splash

embed_splash_widthinteger
embed_splash_heightinteger
vanity_url_codestring nullable

The vanity URL code for the guild

owner_idstring snowflake required
system_channel_idstring snowflake
system_channel_flagsinteger required

System channel message flags

rules_channel_idstring snowflake
afk_channel_idstring snowflake
afk_timeoutinteger required
featuresGuildFeatureSchema[] required

Array of guild feature flags

verification_level0 | 1 | 2 | 3 | 4 required

Required verification level for members

mfa_level0 | 1 required

Required MFA level for moderation actions

nsfw_level0 | 3 required

The NSFW level of the guild

nsfwboolean required

Whether the guild is marked as adult (18+) content

content_warning_level0 | 1 required

The content warning level for a guild, category, or channel

content_warning_textstring nullable

Custom guild-wide content warning text; null falls back to a localized default

explicit_content_filter0 | 1 | 2 required

Level of content filtering for explicit media

default_message_notifications0 | 1 required

Default notification level for new members

disabled_operationsinteger required

Bitfield of disabled operations in the guild

message_history_cutoffstring date-time nullable

ISO8601 timestamp controlling how far back members without Read Message History can access messages. When null, no historical access is allowed.

permissionsstring int64

Permission bitfield as string

member_countinteger
online_countinteger
approximate_member_countinteger
approximate_presence_countinteger

Changes