v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-151,1412,2144.5 MB
Policies

Toggle the status of a given policy

Modify the activation state of a policy associated with a domain

patch/waap/v1/domains/{domain_id}/policies/{policy_id}/toggle

Path parameters

domain_idinteger required

The domain ID

The domain ID

policy_idstring required

The ID of the policy to toggle

The ID of the policy to toggle

Response

Successful Response

modeboolean required

Indicates if the security rule is active