action windows_job_delete { label: "Deletes a job." description: "Deleting a job also deletes all tasks that are part of that job, and all job statistics. This also overrides the retention period for task data; that is, if the job contains tasks which are still retained on compute nodes, the Batch services deletes those tasks' working directories and all their contents. When a Delete Job request is received, the Batch service sets the job to the deleting state. All update operations on a job that is in deleting state will fail with status code 409 (Conflict), with additional information indicating that the job is being deleted." provider: windows method: DELETE path: "/jobs/{jobId}" encoding: json input: { type: "object" properties: { "If-Match": { type: "string" } "If-Modified-Since": { type: "string" } "If-None-Match": { type: "string" } "If-Unmodified-Since": { type: "string" } "api-version": { type: "string" } "client-request-id": { type: "string" } jobId: { type: "string" } "ocp-date": { type: "string" } "return-client-request-id": { type: "string" } timeout: { type: "string" } } required: ["api-version", "jobId"] additionalProperties: false } output: { type: "object" additionalProperties: true } }