Skip to main content

Delete Event Occurrence

DELETE/events/{eventId}/occurrences/{occurrenceId}
Remove an occurrence from an event. This permanently deletes the occurrence. If tickets have been sold for this occurrence, you'll need to handle refunds separately. For shows that are cancelled but need to keep records, consider updating the status to "cancelled" instead of deleting.

When to use this

  • Removing a show that was added by mistake
  • Cleaning up draft occurrences that won't happen
  • Deleting test data

Parameters

eventIdpathrequired
string

Event ID

occurrenceIdpathrequired
string

Occurrence ID

Response

Event occurrence deleted successfully

Notes

⚠️This is permanent and cannot be undone. If tickets have been sold, consider cancelling instead of deleting.
ℹ️Deleting an occurrence doesn't automatically refund tickets-handle refunds through the orders API.
Code Samples

Delete Event Occurrence using the TypeScript SDK:

import { BackstageClient } from '@ticketlayer/backstage';

const client = new BackstageClient({
organisationSlug: 'your-org',
});
client.setAccessToken('YOUR_ACCESS_TOKEN');

// Delete eventoccurrence
await client.eventoccurrence.delete('{{EVENTOCCURRENCE_ID}}');

console.log('EventOccurrence deleted successfully');

Try It

Path Parameters
Event ID
Occurrence ID

Related