Start tracking db purge process




Supported Media Types
Header Parameters
Body ()
Root Schema : trackingdb
Type: object
Show Source
Nested Schema : RetentionPeriod
Type: object
Show Source


Supported Media Types

200 Response

Successful operation

400 Response

Invalid retention time parameter

412 Response

The purge process is already running

500 Response

Server error


The following example shows how to track a db purge process by submitting a POST request on the REST resource using cURL. For more information about cURL, see Use cURL. For more information about endpoint URL structure, see Send Requests.
curl -v -k -X POST -u jstein:welcome1 -H 'X-HTTP-Method-Override:PATCH' -H 'Content-Type:application/json' -d '{"retentionPeriod": {"unit": "DAYS", "value": 2 }}'

Example of Request Body

The following example shows the contents of a request body in JSON format.

           "unit": "DAYS",
           "value": 2