Update a Discord scheduled event
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.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
1 <= length <= 100length <= 1000date-timedate-timeFor external events.
1 <= length <= 100Status transition. Most common: 'cancelled' to cancel an event.
"scheduled" | "active" | "completed" | "cancelled"^data:image/(png|jpeg|gif);base64,Response Body
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.discord.updateDiscordScheduledEvent({ path: { guildId: 'guild_abc123', eventId: 'event_abc123', }, body: { accountId: 'account_abc123', },});console.log(data);{
"data": {
"id": "string",
"guild_id": "string",
"channel_id": "string",
"creator_id": "string",
"name": "string",
"description": "string",
"scheduled_start_time": "2019-08-24T14:15:22Z",
"scheduled_end_time": "2019-08-24T14:15:22Z",
"privacy_level": 2,
"status": 1,
"entity_type": 1,
"entity_id": "string",
"entity_metadata": {
"location": "string"
},
"user_count": 0,
"image": "string"
}
}{
"error": "Unauthorized"
}Get Discord account settings GET
Returns the current Discord account settings including webhook identity (display name and avatar), connected channel, and guild information.
Update Discord settings PATCH
Update Discord account settings. Supports two operations (can be combined): 1. **Webhook identity** - Set the default display name and avatar that appear as the message author on every post. These are account-level defaults; individual posts can override them via platformSpecificData.webhookUsername / webhookAvatarUrl. 2. **Switch channel** - Move the connection to a different channel in the same guild. A new webhook is automatically created in the target channel.