Delete File or Folder
delete
/essbase/rest/v1/files/{path}
Delete the file or folder specified in the path.
Request
Path Parameters
-
path(required): string
Pattern:
.+
Path of file/folder to delete
Response
Supported Media Types
- application/json
- application/xml
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.
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%