Update tracking db parameters

post

/icsapis/v2/environment/trackingdb

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
Body ()
Root Schema : trackingdb
Type: object
Show Source
Nested Schema : RetentionPeriod
Type: object
Show Source

400 Response

Invalid retention time parameter

500 Response

Server error

Examples

The following example shows how to update a tracking database parameter 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 -u [admin user]:[admin pwd] -X POST -H 'Content-Type:application/json' -H 'X-HTTP-Method-Override:PATCH' -d '{"retentionPeriod": {"unit": "DAYS", "value": 1 } }'  https://integration.us.oraclecloud.com/icsapis/v2/environment/trackingdb

For more information on configuring connections, refer Configuring Connection Properties in Using the REST Adapter.