Discord

Update a Discord scheduled event

Changed on

Patch any subset of fields. Passing status: 'cancelled' is how you cancel an event. Discord doesn't have a dedicated cancel endpoint, it's a status transition.

Most status transitions Discord enforces (you can't go SCHEDULED → COMPLETED directly). The common consumer case is SCHEDULED → CANCELED.

patch/v1/discord/guilds/{guildId}/events/{eventId}

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/discord/guilds/{guildId}/events/{eventId}
  • Auth: HTTP bearer

Path parameters

guildIdstring required
eventIdstring required

Request body

accountIdstring required
namestring
descriptionstring
startsAtstring date-time
endsAtstring date-time
locationstring

For external events.

status'scheduled' | 'active' | 'completed' | 'cancelled'

Status transition. Most common: 'cancelled' to cancel an event.

imageDataUristring

Response

Event updated.

Changes

    • warning

      added the new account enum value to the / response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status