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:

KeyTypeValueDescription
opstringdeleteRequired. Operation performed.
policy_namestringEx: LQ_storageRequired. Must be the name of an existing storage scan policy.
new_namestringURL-encoded stringRequired. 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"
}'
Share this Doc

Clone a Storage Scan Policy

Or copy link

In this topic ...