/modify

Modify a specific event from the guild

circle-info

This endpoint requires a POST request!

circle-info

This endpoint supports the Exclude header

Endpoint Headers:

  • bot-token - Token of the Bot [String] (Required)

  • apikey - Your Api Auth Key [String] (Required)

  • guild-id - ID of the guild to be fetched [Snowflake] (Required)

Endpoint Body Parameters

  • event - ID of the event to be fetched [Snowflake] (Required)

  • channel_id - the channel id of the scheduled event. [Snowflake] (*)

  • entity_metadata - the entity metadata of the scheduled event [Object] (**)

  • name - the name of the scheduled event [String] (Optional)

  • privacy_level - the privacy level of the scheduled event [Integer] (Optional)

  • scheduled_start_time - the time to schedule the event [ISO8601 timestamp] (Optional)

  • scheduled_end_time - the time when the event is scheduled to end [ISO8601 timestamp] (**)

  • description - the description of the scheduled event [String] (Optional)

  • entity_type - the entity type of the scheduled event [Integer] (Optional)

  • status - the status of the scheduled event [Integer] (Optional)

  • image - the cover image of the scheduled event [Image Data] (Optional)

circle-exclamation

Examples:

circle-info

Data API version required. Must replace <version> with either release or beta.

chevron-rightBot Designer for Discordhashtag

Example usage of /guild/event/modify endpoint using BDFD

chevron-rightDiscord.jshashtag

Example usage of /guild/event/modify endpoint using Discord.js

Possible Responses (Codes)

chevron-rightCode 200hashtag

API succeeded and details were fetched.

chevron-rightCode 400hashtag

An error occurred that stopped execution.

chevron-rightCode 401hashtag

Invalid bot token was provided.

chevron-rightCode 404hashtag

Guild was not found via DAPI

Last updated