unpublish_event
Unpublish an Eventbrite event by ID to remove it from public view when sales and series rules allow. Returns true if successful.
Instructions
Unpublish an Event.
ENDPOINT: POST /events/{event_id}/unpublish/
Returns boolean indicating success or failure of unpublish action.
UNPUBLISH REQUIREMENTS:
Free Event (including past): Must not have pending or completed orders
Paid Event (completed/paid out): Can be unpublished
Paid Event (not completed): Can only unpublish if no pending or completed orders
SERIES PARENT EVENTS:
All occurrences must be in valid state to unpublish
Unpublishing parent unpublishes all occurrences
Series occurrence cannot be unpublished individually
RESPONSE:
unpublished (boolean): true if successfully unpublished
POSSIBLE ERRORS (400):
NOT_PUBLISHED: Event not currently published, cannot unpublish
CANNOT_UNPUBLISH: Cannot unpublish event with pending/completed sales (unless past/completed/paid out for paid tickets), or if series parent has occurrences in invalid state, or if trying to unpublish individual series occurrence
AUTHENTICATION: Requires: Authorization: Bearer PERSONAL_OAUTH_TOKEN
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_id | Yes | Event ID (required) |