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.
https://<tenant-name>.goskope.com/api/v1/storage_scan_policies/?token=<token>&op=enabled
Valid parameters include:
Key | Type | Value | Description |
---|---|---|---|
| string |
| Required. Operation performed. |
| string | Ex: | Required. Must be the name of an existing storage scan policy. |
| boolean |
| Required. Use |
POST 'https://<tenant>/api/v1/storage_scan_policies?token=<token>op=enabled' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "PolicyName",
"enable": "true"
}'