Important note about SSL VPN compatibility for 20.0 MR1 with EoL SFOS versions and UTM9 OS. Learn more in the release notes.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Adding URL to webfilter by using API

I would like to add URLs/Domains to the webfilter by using the API. Can't figure out the code that is needed. Can anyone help?



This thread was automatically locked due to age.
Parents Reply Children
  • Now I got it. Had problems with <pre>-tag in editor.
    This is the code I used:


    https://<Firewall_IP_address>:<port>/webconsole/APIController?reqxml=<Request>
    <Login>
    <UserName>apiuser</UserName>
    <Password>password</Password>
    </Login>
    <Set Operation="add">
    <WebFilterURLGroup>
    <Name>Name</Name>
    <URLlist>
    <URL>URLs</URL>
    <URL>URLs</URL>
    </URLlist>
    <Description>Text</Description>
    </WebFilterURLGroup>
    </Set>
    </Request>