Skip to main content
await luma.events.ticketTypes.delete("evt-abc123", "tkt-xyz789");
null
SDK luma.events.ticketTypes.delete(eventId: string, ticketTypeId: string): Promise<void> Deletes a ticket type from an event.
await luma.events.ticketTypes.delete("evt-abc123", "tkt-xyz789");
null

Parameters

eventId
string
required
Event api_id from events.list().
ticketTypeId
string
required
Ticket type api_id from events.ticketTypes.list().

Test it

Delete a ticket type you created for testing:
const eventId = "evt-abc123";

const ticketType = await luma.events.ticketTypes.create(eventId, {
  name: "Delete me",
  type: "free",
});
await luma.events.ticketTypes.delete(eventId, ticketType.api_id);
console.log("Deleted");