Delete an event
DELETE
/org-content/event/{id}Deletes the event, clearing its featured flag, and returns 204. Readers no longer see it, and its likes and comments stay with it. Needs permission to manage the organisation's content. It has no dry run and cannot be undone through the API. Emits event.deleted; no email or notification.
Path parameters
The item's id.
Responses
204
The event was deleted.
403Error
Authorization failed. error.code is one of org_disabled,
ip_blocked, missing_scope, scope_disabled, user_disabled.
422Error
The request can't be processed (HTTP 422): validation_failed with one ErrorDetail per
problem, or a code documented on the operation.
Examples
curl -X DELETE https://your-org-domain/kong/core/api/v2/org-content/event/{id}\
-H "Authorization: Bearer $HELM_API_KEY"\
-H "Content-Type: application/json"