Create a calendar Added in 6.2.0
Path parameters
-
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 \
-X PUT http://api.example.com/_ml/calendars/{calendar_id} \
-H "Content-Type: application/json" \
-d '{"job_ids":["string"],"description":"string"}'
Request examples
{
"job_ids": [
"string"
],
"description": "string"
}
Response examples (200)
{
"calendar_id": "string",
"description": "string",
"": "string"
}