createSiteWxlanRule
POST https://{{host}}/api/v1/sites/:site_id/wxrules
#### Body Parameter Parameter|Type|Description :-------------: |:-------------: |:-------------: name|string|The name of the rule enabled|boolean|enabled or not, default is true order|int|the order how rules would be looked up, > 0 and bigger order got matched first, -1 means LAST, uniqueness not checked srcwxtags|uuid|tag list to determine if this rule would match dstallowwxtags|uuid|tag list to indicate these tags are allowed access dstdenywxtags|uuid|tag list to indicate these tags are blocked access blockedapps|string|blocked apps (always blocking, ignoring action), the key of Get Application List action|string|type of action, allow / block
Request Body
{"name"=>"Guest", "order"=>1, "src_wxtags"=>["8bfc2490-d726-3587-038d-cb2e71bd2330", "3aa8e73f-9f46-d827-8d6a-567bb7e67fc9"], "dst_allow_wxtags"=>["fff34466-eec0-3756-6765-381c728a6037", "eee2c7b0-d1d0-5a30-f349-e35fa43dc3b3"], "dst_deny_wxtags"=>["aaa34466-eec0-3756-6765-381c728a6037", "bbb2c7b0-d1d0-5a30-f349-e35fa43dc3b3"], "blocked_apps"=>["mist", "all-videos"], "apply_tags"=>["c049dfcd-0c73-5014-1c64-062e9903f1e5"], "action"=>"allow"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | ||
X-CSRFToken | string | ||
Content-Type | string |