Home > Configuration > Application Firewall > setappfwprofile_jsonerrorstatuscode

setappfwprofile_jsonerrorstatuscode

Use this method to set response status code associated with JSON error page. Non-empty JSON error object must be imported to the application firewall profile for the status code.

Syntax



Parameters

name

Name of the profile that you want to modify.
This is mandatory parameter.

jsonerrorstatuscode

Response status code associated with JSON error page. Non-empty JSON error object must be imported to the application firewall profile for the status code.
Default value = AS_ERROR_CODE_DEFAULT.
Minimum value = 1.
Maximum value = AS_ERROR_CODE_MAX.

Return Value

Returns simpleResult

See Also