Delete MDX Report
delete
/applications/{application}/databases/{database}/queries/{query}
Delete the MDX report for specified cube.
See also:
Request
Path Parameters
-
application(required):
Application name.
-
database(required):
Database name.
-
query(required):
MDX report name.
Response
204 Response
OK
MDX report deleted successfully.
400 Response
Bad Request
Failed to delete MDX report.
Examples
The following example shows how to remove an MDX report saved in the context of an Essbase cube.
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.
Script with cURL Command
call properties.bat
curl -X DELETE https://myserver.example.com:9001/essbase/rest/v1/applications/Sample/databases/Basic/queries/mdxreport01 -H "Accept:application/json" -u %User%:%Password%