Abort Multipart File Upload

delete

/essbase/rest/v1/files/abort/{path}

Terminate the multipart upload operation of a file and delete all the uploaded parts.

Request

Path Parameters
  • Pattern: .+

    Catalog path of the folder for which to terminate the multipart upload.

Query Parameters
Back to Top

Response

Supported Media Types

204 Response

No Content

The file upload operation was terminated successfully.

500 Response

Internal Server Error.

Back to Top

Examples

The following example shows how to terminate a multi-part file upload operation. This action also deletes all the uploaded parts. This example uses cURL to access the REST API from a Windows shell script. As input, path parameters require the destination catalog path. Query parameters require an upload ID.

This operation is not valid unless you already initiated a multipart file upload using Create Multipart File Upload.

The calling user's ID and password are variables whose values are set in properties.bat.

Script with cURL Command

call properties.bat
curl -X DELETE "https://myserver.example.com:9001/essbase/rest/v1/files/abort/users/admin/datafile.txt?uploadId=56e02b99-59b5-458c-be2b-42417994522a" -u %User%:%Password%
Back to Top