Last active
May 23, 2022 03:09
-
-
Save shadabshaukat/83465400a18a3213b2e58d8e07d605fa to your computer and use it in GitHub Desktop.
Purge_Trails_Older_Than_X_Hours
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -u user:"password" | |
| -H "Content-Type: application/json" | |
| -H "Accept: application/json" | |
| -X POST https://pxxxxxq.deployment.goldengate.us-ashburn-1.oci.oraclecloud.com/services/v2/commands/execute -d '{"name": "purge","purgeType":"trails","trails": [{"name": "<trail name>"}],"useCheckpoints":false,"keep": [{"type": "min","units": "hours","value": 7}]}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment