update guild welcome screen

PATCH {{baseUrl}}/guilds/:guild_id/welcome-screen

Update the welcome screen properties and channels for a guild

Request Body

{"description"=>"<string,null>", "welcome_channels"=>[{"channel_id"=>"<string>", "description"=>"<string>", "emoji_id"=>"<string,null>", "emoji_name"=>"<string,null>"}, {"channel_id"=>"<string>", "description"=>"<string>", "emoji_id"=>"<string,null>", "emoji_name"=>"<string,null>"}], "enabled"=>"<boolean,null>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;welcome_channels&quot;:[{&quot;channel_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;emoji_id&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;emoji_name&quot;:&quot;\u003cstring,null\u003e&quot;},{&quot;channel_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;emoji_id&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;emoji_name&quot;:&quot;\u003cstring,null\u003e&quot;}],&quot;description&quot;:&quot;\u003cstring,null\u003e&quot;}