Enable or Disable a Storage Scan Policy

Enable or Disable a Storage Scan Policy

Use this endpoint to enable or disable a storage scan policy. After enabling and disabling a policy, use the Apply Changes endpoint to update your tenant.

Request Endpoint

https://<tenant-URL>/api/v1/storage_scan_policies/?token=<token>&op=enabled

Valid parameters include:

KeyTypeValueDescription
opstringenableRequired. Operation performed.
policy_namestringEx: LQ_storageRequired. Must be the name of an existing storage scan policy.
enabledbooleantrue | falseRequired. Use true for enabled and false for disabled.

Example Enable Policy Request

POST 'https://<tenant-URL>/api/v1/storage_scan_policies?token=<token>op=enabled' 
--header 'Content-Type: application/json' 
--data-raw '{
    "name": "PolicyName",
    "enable": "true"
}'
Share this Doc

Enable or Disable a Storage Scan Policy

Or copy link

In this topic ...