Delete Shadow Application
/essbase/rest/v1/applications/actions/shadowDelete/{shadowAppName}
Forcefully deletes the specified shadow application.
Although shadow applications can also be deleted using the regular Delete Application, if the shadow application is corrupted or has any locks, then it the regular delete application fails.
Therefore, this API guarantees a forceful deletion of the shadow application.
This API is similar to the MaxL statement drop application APP-NAME cascade force
Request
-
shadowAppName(required): string
shadowAppName: Name of the shadow application to remove.
Response
- application/json
- application/xml
204 Response
OK
Shadow application deleted successfully.
400 Response
Bad Request
Failed to delete shadow application.
500 Response
Internal Server Error.
503 Response
Service Unavailable
Naming exception or server exception.
Examples
The following example shows how to delete a shadow application, using cURL to call 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/actions/shadowDelete/SDShadow" -H Accept:application/json -H Content-Type:application/json -u %User%:%Password%