Create a Schedule Based on a Job

get

/api/v2/jobs/{id}/create_schedule/

Make a POST request to this endpoint to create a schedule that launches the job template that launched this job, and uses the same parameters that the job was launched with. These parameters include all "prompted" resources such as extra_vars, inventory, limit, etc.

Jobs that were launched with user-provided passwords cannot have a schedule created from them.

Make a GET request for information about what those prompts are and whether or not a schedule can be created.

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Body ()
Root Schema : JobCreateSchedule
Type: object
Show Source
Back to Top