Update Virtual Service Waf Allowlist

Update Virtual Service Waf Allowlist

Updates WAF allowlist for a Virtual Service.

Request
URI
PUT
https://{api_host}/cloudapi/1.0.0/loadBalancer/virtualServices/{virtualServiceId}/waf/allowlist
COPY
Path Parameters
string
virtualServiceId
Required

virtualServiceId

string
virtualServiceId
Required

virtualServiceId


Request Body
EdgeVirtualServiceWafAllowlist of type(s) application/json
Required
{
    "values": [
        {
            "name": "string",
            "active": false,
            "matchCriteria": {
                "hostHeaderMatch": {
                    "matchCriteria": "string",
                    "value": [
                        "string"
                    ]
                },
                "clientIpMatch": {
                    "matchCriteria": "string",
                    "addresses": [
                        "string"
                    ]
                },
                "pathMatch": {
                    "matchCriteria": "string",
                    "matchStrings": [
                        "string"
                    ]
                },
                "methodMatch": {
                    "matchCriteria": "string",
                    "methods": [
                        "string"
                    ]
                }
            },
            "action": "string"
        }
    ]
}
values
Optional

An ordered list of WAF allowlist items.

Authentication
This operation uses the following authentication methods.
Responses
202

The request have been accepted and the task to monitor the request is in the Location header.

Operation doesn't return any data structure