Delete events from a calendar | Elasticsearch API documentation (original) (raw)
Dismiss highlight Show more
Path parameters
- A string that uniquely identifies a calendar.
- Identifier for the scheduled event. You can obtain this identifier by using the get calendar events API.
Responses
- 200 application/json
Hide response attribute Show response attribute object- For a successful response, this value is always true. On failure, an exception is returned instead.
DELETE /_ml/calendars/{calendar_id}/events/{event_id}
curl \
--request DELETE 'http://api.example.com/_ml/calendars/{calendar_id}/events/{event_id}' \
--header "Authorization: $API_KEY"
Response examples (200)
A successful response when deleting a calendar event.
{
"acknowledged": true
}