37 lines
692 B
Plaintext
37 lines
692 B
Plaintext
[role="xpack"]
|
|
[[ml-put-calendar-job]]
|
|
=== Add Jobs to Calendar API
|
|
++++
|
|
<titleabbrev>Add Jobs to Calendar</titleabbrev>
|
|
++++
|
|
|
|
This API enables you to add jobs to a calendar.
|
|
|
|
==== Request
|
|
|
|
`PUT _xpack/ml/calendars/<calendar_id>/jobs/<job_id>`
|
|
|
|
//===== Description
|
|
|
|
==== Path Parameters
|
|
|
|
`calendar_id` (required)::
|
|
(string) Identifier for the calendar.
|
|
|
|
//==== Request Body
|
|
|
|
`job_id` (required)::
|
|
(string) Identifier for the job.
|
|
|
|
`description`::
|
|
(string) A description of the calendar.
|
|
|
|
==== Authorization
|
|
|
|
You must have `manage_ml`, or `manage` cluster privileges to use this API.
|
|
For more information, see
|
|
{xpack-ref}/security-privileges.html[Security Privileges].
|
|
|
|
|
|
//==== Examples
|