Delete an event type
Delete one event type by its slug. Its events stay published and stop being categorized under it. The slug is also removed from any newsletter subscriber’s interests, so a type created later with the same slug starts with no events and no subscribers.
DELETE https://sitepaste.com/api/v1/public/sites/{siteId}/event-types/{slug}
Requires the content scope.
Usage
curl -X DELETE "https://sitepaste.com/api/v1/public/sites/default/event-types/breathwork" \
-H "Authorization: Bearer $TOKEN"
Response
204 No Content on success; 404 if no type with that slug exists on the site; 400 if the path slug is malformed.