Start tracking db purge process

post

/icsapis/v2/environment/trackingdb/purge

Request

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

Response

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

Examples

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 }}' https://integration.us.oraclecloud.com/icsapis/v2/environment/trackingdb

Example of Request Body

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

{
       "retentionPeriod":    
       {
           "unit": "DAYS",
           "value": 2
        }
 }