DELETE

Discard Draft


Clears all changes to the draft schedule. (Does not affect the published schedule.)

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Events - all permissions
Learn more about app permissions.
Endpoint
DELETE
https://www.wixapis.com/events/v1/schedule/draft

Query Params
eventIdstringRequired

Event ID.

Response Object
Returns an empty object.
Discard Draft Example 1
Request
cURL
curl -X DELETE 'https://www.wixapis.com/events/v1/agenda/draft' \ -H 'Content-Type: application/json' \ -H 'Authorization: <AUTH TOKEN>'
Response
JSON
{}
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?