Create a calendar
Added in 6.2.0
Path parameters
-
calendar_id
string Required A string that uniquely identifies a calendar.
Body
-
job_ids
array[string] An array of anomaly detection job identifiers.
-
description
string A description of the calendar.
PUT
/_ml/calendars/{calendar_id}
curl \
--request PUT http://api.example.com/_ml/calendars/{calendar_id} \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"job_ids":["string"],"description":"string"}'
Request examples
{
"job_ids": [
"string"
],
"description": "string"
}
Response examples (200)
{
"calendar_id": "string",
"description": "string",
"": "string"
}