Logo
API_DOC API Documentation

Modify protections

PUT https://{{host}}/appsec/v1/configs/{{configId}}/versions/{{versionNumber}}/security-policies/{{policyId}}/protections

 

Body PARAM

Key Datatype Required Description 
notMatched
null notMatched Boolean false If true, returns all security policies in the configuration version which don't have a match target. If false, returns all security policies in the configuration version.
detail
null detail Boolean true When enabled, the response features a richer set of data than the default, which includes only the name and ID of each item.



HEADERS

Key Datatype Required Description 




RESPONSES

status





Curl
curl -X PUT 'https://host/appsec/v1/configs/configId/versions/versionNumber/security-policies/policyId/protections?notMatched=&detail='

ENDPOINTS