Delete File or Folder

delete

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

Delete the file or folder specified in the path.

Request

Path Parameters
Back to Top

Response

Supported Media Types

204 Response

No Content

The file or folder was removed successfully.

400 Response

Bad Request

Logged in user may not have appropriate permissions.

500 Response

Internal Server Error.

Back to Top

Examples

The following example shows how to delete files from an Essbase cube directory.

This example uses cURL to access the REST API from a Windows shell script. The calling user's ID and password are variables whose values are set in properties.bat.

cURL Command

call properties.bat
curl -X DELETE "https://myserver.example.com:9001/essbase/rest/v1/files/applications/Sample/Basic/Data_Basic.txt" -H "accept: application/json" -u %User%:%Password%
Back to Top