Clone a Storage Scan Policy
Use this endpoint to clone an existing storage scan policy. After cloning a policy, use the Apply Changes endpoint to update your tenant.
https://<tenant-name>.goskope.com/api/v1/storage_scan_policies/?token=<token>&op=clone
Valid parameters include:
Key | Type | Value | Description |
|---|---|---|---|
| string |
| Required. Operation performed. |
| string | Ex: | Required. Must be the name of an existing storage scan policy. |
| string | URL-encoded string | Required. New name for another storage scan policy. |
POST 'https://<tenant>/api/v1/storage_scan_policies?token={{token}}op=clone' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "oldPolicyName",
"new_name": "newPolicyName"
}'