Delete Filter

delete

/essbase/rest/v1/applications/{applicationName}/databases/{databaseName}/filters/{filterName}

Deletes the named filter in the specified application and database.

Request

Path Parameters
Back to Top

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.

Back to Top

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'"
}
Back to Top