{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Canceling an event","meta":[{"name":"robots","content":"noindex"}],"llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"canceling-an-event","__idx":0},"children":["Canceling an event"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The event organizer can choose to cancel a published event at any time. Only published events can be canceled."," ","If the event is still in the draft stage, it can only be ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/docs/spotnana/event_deletion_workflow"},"children":["deleted"]},"."]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Note:"]}," Canceling an event will not cancel the traveler’s trip or their bookings."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To cancel an event, use the following API endpoint:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Endpoint"},"children":["Endpoint"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Details"},"children":["Details"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/docs/openapi/eventapi#operation/cancelEvent"},"children":["Cancel event"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/v2/events/{eventId}/cancel"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Cancel a published event.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["URL path requires:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["eventId"]}," generated from step 1 of ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/docs/spotnana/event_creating_workflow"},"children":["creating and publishing an event"]}," workflow."]}]}]}]}]}]},"headings":[{"value":"Canceling an event","id":"canceling-an-event","depth":1}],"frontmatter":{"seo":{"title":"Canceling an event"}},"lastModified":"2024-11-06T13:52:25.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/spotnana/event_cancel_workflow","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}