post https://{hostname}/appsec/v1/configs//versions//custom-deny
All products Create a new custom deny action for a specific configuration version.
Responses
All products Create a new custom deny action for a specific configuration version.
xxxxxxxxxx
curl --request POST \
--url https://hostname/appsec/v1/configs/configId/versions/versionNumber/custom-deny \
--header 'accept: application/json' \
--header 'content-type: application/json'
xxxxxxxxxx
27}
{
"description": "test description",
"id": "deny_custom_622919",
"name": "new custom deny",
"parameters": [
{
"displayName": "Prevent browser caching",
"name": "prevent_browser_cache",
"value": "true"
},
{
"displayName": "Response body content",
"name": "response_body_content",
"value": "json body"
},
{
"displayName": "Response content type",
"name": "response_content_type",
"value": "application/xml"
},
{
"displayName": "Response status code",
"name": "response_status_code",
"value": "403"
}