Delete event with the Eventbrite API
Deletes an event and returns deleted true. Only an event without pending or completed orders can be deleted. Deleting the parent of a series of dates deletes every date.
- Identifier
- eventbrite_delete_event
The request
POST https://connect.reportei.com/api/tools/eventbrite_delete_event/execute
Authorization: Bearer <merchant token>
x-customer-token: <customer token>
Content-Type: application/json
Accept: application/json
{
"customer_toolkit": "<connection UUID>",
"arguments": {
"event_id": "<event_id>"
}
}Your system sends your customer's connection id and the tool arguments. The headers are the same as the rest of the Connect API: your product's token and your customer's token.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| event_id | string | Yes | Id of the event: an id from List events. |
Supported connections
Your customer connects their Eventbrite account once, with one of the modes below. The same connection serves every tool of the toolkit.
API key
Your customer pastes the app's key on a Connect screen, or your system sends the key with POST /api/customer-toolkits, with no screen.
OAuth with your product's app
You register your product's OAuth app once, with POST /api/merchants/credentials/eventbrite, and your customer authorizes the account on a consent screen. Connect renews the token when it is about to expire.
The response
On success, Connect preserves the app's response status and body. HTTP errors returned by the app use the {error, api_error} envelope; authentication or validation can fail before execution. The X-Toolkit-Execution-Id header identifies the recorded execution, available at GET /api/tools/executions/{uuid}.
Ready for AI agents
This tool's input is a JSON Schema, available at GET /api/tools/eventbrite_delete_event. It becomes your agent's tool definition with no conversion.
Other Eventbrite tools
- List organizationsGETLists the organizations the connected user is a member of, with id and name. Events, venues, orders and attendees belong to an organization. When pagination.has_more_items is true, pass pagination.continuation as continuation to read the next page.
- List eventsGETLists the events of an organization, with id, name, summary, start, end, status, url, venue_id and organizer_id. When pagination.has_more_items is true, pass pagination.continuation as continuation, with the same filters, to read the next page.
- Get eventGETReturns one event, with name, summary, start and end (timezone, utc and local), status, url, currency, capacity, online_event, listed, venue_id and organizer_id. An event created or changed a moment ago can take a few seconds to show the change here.
- Create eventPOSTCreates a draft event in an organization and returns it. To put it on sale, add a ticket type with Create ticket class and then use Publish event.
- Update eventPOSTUpdates an event and returns it. Only the fields sent change. On the parent of a series of dates, the name, currency, capacity, password and the show and hide options change on every date.
- Publish eventPOSTPublishes a draft event, which goes on sale, and returns published true. The event needs a name, a summary or description, an organizer, at least one ticket class and, for paid tickets, valid payment options. A deleted event cannot be published.
- List ticket classesGETLists the ticket types of an event, with id, name, cost, fee, free, donation, capacity, quantity_sold, sales_start and sales_end. When pagination.has_more_items is true, pass pagination.continuation as continuation to read the next page.
- Create ticket classPOSTCreates a ticket type for an event and returns it: free (free true), paid (cost) or donation (donation true). A free or paid ticket type needs capacity.
Toolkits in the same category
See all 100 toolkitsSee Connect applied to your product.
Try it for 15 days with no card, or walk our team through your use case.
