Delete Database
delete
/essbase/rest/v1/applications/{applicationName}/databases/{databaseName}
Deletes specified database.
Request
Path Parameters
-
applicationName(required): string
Application name.
-
databaseName(required): string
Database name.
Response
Supported Media Types
- application/json
- application/xml
204 Response
OK
Database deleted successfully.
400 Response
Bad Request
Failed to delete database.
500 Response
Internal Server Error.
Examples
The following example shows how to delete a database from an Essbase application using the REST API.
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/MyApp/databases/Basic -H "Accept:application/json" -u %User%:%Password%