update guild scheduled event

PATCH {{baseUrl}}/guilds/:guild_id/scheduled-events/:guild_scheduled_event_id

Edit a scheduled event in the guild

Request Body

{"status"=>"<null>", "name"=>"<string>", "description"=>"<string,null>", "image"=>"<string,null>", "scheduled_start_time"=>"<dateTime>", "scheduled_end_time"=>"<string,null-date-time>", "entity_type"=>"<null>", "privacy_level"=>{"title"=>"GUILD_ONLY", "description"=>"the scheduled event is only accessible to guild members", "const"=>2}, "channel_id"=>"<string,null>", "entity_metadata"=>{"location"=>"<string>"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;guild_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;scheduled_start_time&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;status&quot;:{&quot;title&quot;:&quot;SCHEDULED&quot;,&quot;const&quot;:1},&quot;entity_type&quot;:3,&quot;privacy_level&quot;:{&quot;title&quot;:&quot;GUILD_ONLY&quot;,&quot;description&quot;:&quot;the scheduled event is only accessible to guild members&quot;,&quot;const&quot;:2},&quot;entity_metadata&quot;:{&quot;location&quot;:&quot;\u003cstring\u003e&quot;},&quot;description&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;channel_id&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;creator_id&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;creator&quot;:&quot;\u003cnull\u003e&quot;,&quot;image&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;scheduled_end_time&quot;:&quot;\u003cstring,null-date-time\u003e&quot;,&quot;entity_id&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;user_count&quot;:&quot;\u003cinteger,null\u003e&quot;,&quot;user_rsvp&quot;:&quot;\u003cnull\u003e&quot;}