POST /a/jobs/tasks/delete

Send a control command to clean tasks on a given job

Body Parameters

Name Description Type Required
JobId Id of the job string
PruneLimit If deleting by status, optionally keep only a number of tasks integer
Status If no TaskID and/or no JobID are passed, delete tasks by status array
TaskID Ids of tasks to delete array

Body Example

{
  "JobId": "string",
  "PruneLimit": 10,
  "Status": [
    "string"
  ],
  "TaskID": [
    "string"
  ]
}

Response Example (200)

Response Type /definitions/jobsDeleteTasksResponse

{
  "Deleted": [
    "string"
  ]
}
Auto generated by Pydio Cells Enterprise Distribution v4.4.3 on 18-Jun-2024
Back to top