Delete Audit Data
delete
/essbase/rest/v1/applications/{application}/databases/{database}/audittrail/data
Deletes audit trail data older than the specified time.
Request
Path Parameters
-
application(required): string
Application name.
-
database(required): string
Database name.
Query Parameters
-
olderthan: integer(int64)
Time in milliseconds.
Response
Supported Media Types
- application/json
- application/xml
204 Response
OK
Audit data deleted successfully.
400 Response
Bad Request
Failed to delete audit data.
500 Response
Internal Server Error.
Examples
The following example shows how to remove previously collected data audit trail information for an Essbase database.
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_Dynamic/databases/Basic/audittrail/data" -H Accept:application/json -H Content-Type:application/json -u %User%:%Password%