[role="xpack"]
[[ml-put-calendar-job]]
=== Add Jobs to Calendar API
++++
Add Jobs to Calendar
++++
This API enables you to add jobs to a calendar.
==== Request
`PUT _xpack/ml/calendars//jobs/`
//===== Description
==== Path Parameters
`calendar_id` (required)::
(string) Identifier for the calendar.
`job_id` (required)::
(string) Identifier for the job.
//==== Request Body
==== 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