Skip to main content

HeaderRuleInput

namestringrequired

Possible values: <= 200 characters

patternstring

Empty string = applies globally.

Possible values: <= 500 characters

matchTypeinteger

0 Equals, 1 Contains, 2 StartsWith, 3 EndsWith, 4 Regex. Defaults to Contains.

Possible values: [0, 1, 2, 3, 4]

actionintegerrequired

0 Add, 1 Set, 2 Delete.

Possible values: [0, 1, 2]

headerNamestringrequired

RFC 7230 token characters only. Validated against protected headers.

Possible values: <= 200 characters

headerValuestring

Must not contain CR, LF, or null bytes.

Possible values: <= 4000 characters

applyToRequestboolean

false = response header (default), true = request header.

orderinteger
isEnabledboolean
HeaderRuleInput
{
"name": "string",
"pattern": "string",
"matchType": 0,
"action": 0,
"headerName": "string",
"headerValue": "string",
"applyToRequest": true,
"order": 0,
"isEnabled": true
}