Delete Filter
/essbase/rest/v1/applications/{applicationName}/databases/{databaseName}/filters/{filterName}
Deletes the named filter in the specified application and database.
Request
-
applicationName(required): string
Application name.
-
databaseName(required): string
Database name.
-
filterName(required): string
Filter name.
Response
204 Response
No Content
The filter was deleted successfully.
400 Response
Bad Request
Failed to delete the filter. The application name, database name, or filter name may be incorrect, or the named filter may not exist.
500 Response
Internal Server Error.
Examples
The following example shows how to remove an Essbase security filter.
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/Efficient/databases/UserFilters/filters/dslookupfilter2 -H "Accept: application/json" -u %User%:%Password%
Example of Response Body
No response if successful. If unsuccessful, the response returns an error.
{
"errorMessage" : "Filter 'dslookupfilter2' does not exist in 'Efficient'-'UserFilters'"
}