Deny request
Blocks the request and returns a specified HTTP status code and an optional response body message.
This action blocks a matching request and returns a specified HTTP status code with a response body.
Note:
This web control action is available on both Request and Response web controls.
Configuration
- HTTP status code: The status code returned as a result of the deny action. This must be a value between
200and599. This field is required. - Response body: The response body to send when the request is denied.
Behavior
When the conditions of the web control are met, the request is blocked and the specified status code and response body are returned to the client. This is a final action, so it terminates the evaluation of the remaining web controls.
Have questions not answered here?
Contact Support
to get more help.
Last modified on November 18, 2026