Delete anomaly jobs from a calendar
Added in 6.2.0
Path parameters
-
calendar_id
string Required A string that uniquely identifies a calendar.
-
job_id
string | array[string] Required An identifier for the anomaly detection jobs. It can be a job identifier, a group name, or a comma-separated list of jobs or groups.
DELETE
/_ml/calendars/{calendar_id}/jobs/{job_id}
curl \
--request DELETE http://api.example.com/_ml/calendars/{calendar_id}/jobs/{job_id} \
--header "Authorization: $API_KEY"
Response examples (200)
A successful response when deleting an anomaly detection job from a calendar.
{
"job_ids": [],
"calendar_id": "planned-outages"
}