action windows_task_terminate { label: "Terminates the specified task." description: "When the task has been terminated, it moves to the completed state. For multi-instance tasks, the terminate task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background." provider: windows method: POST path: "/jobs/{jobId}/tasks/{taskId}/terminate" 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" } taskId: { type: "string" } timeout: { type: "string" } } required: ["api-version", "jobId", "taskId"] additionalProperties: false } output: { type: "object" additionalProperties: true } }