HTTPRedirectAction

HTTPRedirectAction
HTTPRedirectAction
JSON Example
{
    "add_string": "string",
    "host": {
        "tokens": [
            {
                "end_index": 0,
                "start_index": 0,
                "str_value": "string",
                "type": "string"
            }
        ],
        "type": "string"
    },
    "keep_query": false,
    "path": {
        "tokens": [
            {
                "end_index": 0,
                "start_index": 0,
                "str_value": "string",
                "type": "string"
            }
        ],
        "type": "string"
    },
    "port": 0,
    "protocol": "string",
    "status_code": "string"
}
string
add_string
Optional

Add a query string to the redirect URI. If keep_query is set, concatenates the add_string to the query of the incoming request. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

host
Optional

host

boolean
keep_query
Optional

Keep or drop the query of the incoming request URI in the redirected URI. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

path
Optional

path

integer As uint32 As uint32
port
Optional

Port to which redirect the request. Allowed values are 1-65535. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
protocol
Required

Protocol type. Enum options - HTTP, HTTPS. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
status_code
Optional

HTTP redirect status code. Enum options - HTTP_REDIRECT_STATUS_CODE_301, HTTP_REDIRECT_STATUS_CODE_302, HTTP_REDIRECT_STATUS_CODE_307. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.