Tasks

Deletes the specified Task file from the Compute Node where the Task ran.

Deletes the specified Task file from the Compute Node where the Task ran.

delete/jobs/{jobId}/tasks/{taskId}/files/{filePath}

Path parameters

jobIdstring required

The ID of the Job that contains the Task.

taskIdstring required

The ID of the Task whose file you want to retrieve.

filePathstring required

The path to the Task file that you want to get the content of.

Query parameters

api-versionstring required

The API version to use for this operation.

timeOutinteger

The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.".

recursiveboolean

Whether to delete children of a directory. If the filePath parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail.

Headers

client-request-idstring

The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.

return-client-request-idboolean

Whether the server should return the client-request-id in the response.

ocp-datestring date-time-rfc7231

The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

Response

The request has succeeded.

Changes

Changed in 1 of the 22 revisions of this API.14

  • 8427acd8fd7714See the full diff
    • deleted the query request parameter timeout

      request-parameter-removed

    • api operation id File_DeleteFromTask removed and replaced with Tasks_DeleteTaskFile

      api-operation-id-removed

    • api tag Tasks added

      api-tag-added

    • api tag Files removed

      api-tag-removed

    • added the new optional query request parameter timeOut

      new-optional-request-parameter

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog