> ## Documentation Index
> Fetch the complete documentation index at: https://alhwyn.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete a ticket type

> Delete a ticket type from a Luma event with luma.events.ticketTypes.delete(eventId, ticketTypeId) using the TypeScript SDK's typed method.

<Badge color="purple">SDK</Badge> `luma.events.ticketTypes.delete(eventId: string, ticketTypeId: string): Promise<void>`

Deletes a ticket type from an event.

<RequestExample>
  ```typescript Example theme={null}
  await luma.events.ticketTypes.delete("evt-abc123", "tkt-xyz789");
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  null
  ```
</ResponseExample>

### Parameters

<ParamField path="eventId" type="string" required>
  Event `api_id` from `events.list()`.
</ParamField>

<ParamField path="ticketTypeId" type="string" required>
  Ticket type `api_id` from `events.ticketTypes.list()`.
</ParamField>

### Test it

Delete a ticket type you created for testing:

```typescript theme={null}
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");
```
