Skip to main content

Netskope Help

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-name>.goskope.com/api/v1/storage_scan_policies/?token=<token>&op=enabled

Valid parameters include:

Key

Type

Value

Description

op

string

enable

Required. Operation performed.

policy_name

string

Ex: LQ_storage

Required. Must be the name of an existing storage scan policy.

enabled

boolean

true | false

Required. Use true for enabled and false for disabled.

Example Enable Policy Request
POST 'https://<tenant>/api/v1/storage_scan_policies?token=<token>op=enabled' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "PolicyName",
    "enable": "true"
}'