IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Create calendar API
editCreate calendar API
editInstantiates a calendar.
Request
editPUT _ml/calendars/<calendar_id>
Description
editFor more information, see Calendars and scheduled events.
Path Parameters
edit-
calendar_id
(required) - (string) Identifier for the calendar.
Request Body
edit-
description
- (string) A description of the calendar.
Authorization
editYou must have manage_ml
, or manage
cluster privileges to use this API.
For more information, see
Security privileges.
Examples
editThe following example creates the planned-outages
calendar:
PUT _ml/calendars/planned-outages
When the calendar is created, you receive the following results:
{ "calendar_id": "planned-outages", "job_ids": [] }