Clone a Storage Scan Policy
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.
Request Endpoint
https://<tenant-URL>/api/v1/storage_scan_policies/?token=<token>&op=clone
Valid parameters include:
Key | Type | Value | Description |
---|---|---|---|
op | string | delete | Required. Operation performed. |
policy_name | string | Ex: LQ_storage | Required. Must be the name of an existing storage scan policy. |
new_name | string | URL-encoded string | Required. New name for another storage scan policy. |
Example Clone Policy Request
POST 'https://<tenant-URL>/api/v1/storage_scan_policies?token={{token}}op=clone' --header 'Content-Type: application/json' --data-raw '{ "name": "oldPolicyName", "new_name": "newPolicyName" }'