Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
🔍 Discover Our Product Documentation

Barracuda Web Application Firewall
Results will update as you type.
  • How to Update Your Notification Email Addresses
  • What's New in the Barracuda Web Application Firewall
  • 30-Day Evaluation Guide - Barracuda Web Application Firewall
  • Getting Started
  • Deployment
  • Services
  • Securing HTTP/HTTPS Traffic
  • Advanced Bot Protection
  • Client-Side Protection
  • API Security
  • Advanced Security
  • IP Reputation-Based Filters
  • Tuning Security Rules
  • Barracuda Active Threat Intelligence
  • Access Control
  • Traffic Management
  • Configuring User-Defined Patterns
  • Logging, Reporting and Monitoring
  • High Availability
  • Networking
  • System Administration and Maintenance
  • Certificate Management
  • Centralized Management of the Barracuda Web Application Firewall
  • Attacks Description - Action Policy
  • REST API
    • REST API Version 1 (v1)
      • Advanced Security and Clickjacking Protection
      • Allow/Deny Rules
      • Certificates
      • Clustering
      • Content Rule
      • Custom Parameter Class and Custom Attack Types
      • Logs
      • Rule Group Server
      • Security Policy
      • Server
      • Service Group
      • Status Codes and Error Responses
      • Trusted Hosts
      • Virtual Service
      • Vsites
      • Website Profiles
    • REST API Version 3 (v3)
    • How to Generate API Calls
    • File-Based Configuration Management for Barracuda Web Application Firewall
    • Using Postman for Barracuda Web Application Firewall APIs
    • How to Enable Dual-Factor Authentication for the Barracuda Web Application Firewall Web Interface Access
    • REST API to Manage Multi-IP on Azure and AWS Cloud Deployments
  • Common Web Application Attacks
  • How to Set Up Barracuda Cloud Control
  • End of Support and End of Life Information
  • Critical Vulnerabilities in Web Application
  • Barracuda Advanced Bot Protection Cloud Infrastructure Upgrade Information
  • Barracuda WAF 12.2 Firmware Hardened to Augment Security of Product Features

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    Trusted Hosts
    Published Jan 08

    Trusted Hosts

    Jan 08, 2026
    Subscribe

    A trusted host group can be created with a set of trusted hosts, which can be associated with the service to enforce action for the trusted hosts.

    For more information on trusted hosts, see How to Configure Trusted Hosts .

    Creating a Trusted Host Group

    URL:  /v1/ trusted_host_groups

    Method: POST

    Description: Creates a trusted host group with the given name.

    Parameter Name

    Data Type

    Mandatory

    Description

    Input Parameters:

     

     

     

    name

    Alphanumeric

    Yes

    A name for the trusted host group that needs to be created.

    Example:

    Request:

    curl http://192.168.0.1:8000/restapi/v1/trusted_host_groups -u 'eyJldCI6mFkbWluIn0=\n:' -X POST -H Content-Type:application/json -d '{"name":"Group1"}'

    Response:

    {"id":"Group1","token":"eyJldCWluIn0=\n"}

    Deleting a Trusted Host Group

    URL:  /v1/ trusted_host_groups/{trusted_host_group_name}

    Method: DELETE

    Description: Deletes the given service group

    Example:

    Request:

    curl http://192.168.0.1:8000/restapi/v1/trusted_host_groups/Group1 -u 'eyJldkbWluIn0=\n:' -X DELETE

    Response:

    {"msg":"Successfully deleted","token":"eyJldbWluIn0=\n"}

    Adding a Trusted Host Group

    URL:  /v1/ trusted_host_groups/{trusted_host_group_name}/trusted_hosts

    Method: POST

    Description: Creates a trusted host with the given name.

    Parameter Name

    Data Type

    Mandatory

    Description

    Input Parameters:

     

     

     

    name

    Alphanumeric

    Yes

    Name for the trusted host.

    address_version

    Enumeration

    Yes

    Internet protocol version for the trusted host.

    ip_address

    Alphanumeric

    Yes

    IP address of the trusted host.

    mask

    Alphanumeric

    Yes

    Associated subnet mask.

    comments

    Alphanumeric

    Optional

    Description about the trusted host.

    Example:

    Request:

    curl http://192.168.0.1:8000/restapi/v1/trusted_host_groups/Group1/trusted_hosts -u 'eyJldCluIn0=\n:' -X POST -H Content-Type:application/json -d '{"name":"Host1", "ip_address":"99.99.124.56", "address_version":"ipv4", "mask":"255.255.255.255", "comments":"raj"}'

    Response:

    {"id":"Host1","token":"eyJldWluIn0=\n"} 

    Updating a Trusted Host

    URL:  /v1/ trusted_host_groups/{trusted_host_group_name}/trusted_hosts/(trusted_host_name)

    Method: PUT

    Description: Updates the values of given parameters.

    Parameter Name

    Data Type

    Mandatory

    Description

    Input Parameters:

     

     

     

    ip_address

    Alphanumeric

    Optional

    IP address of the trusted host.

    mask

    Alphanumeric

    Optional

    Associated subnet mask.

    comments

    Alphanumeric

    Optional

    Description about the trusted host.

    Example:

    Request:

    curl http://192.168.0.1:8000/restapi/v1/trusted_host_groups/Group1/trusted_hosts/Host1 -u 'eyJldCIn0=\n:' -X PUT -H Content-Type:application/json -d '{"ip_address":"99.99.107.69", "mask":"255.255.0.0"}'

     

    Response:

    {"id":"Host1","token":"eyJldCWluIn0=\n"}

    Deleting a Trusted Host

    URL:  /v1/ trusted_host_groups/{trusted_host_group_name}/trusted_hosts/(trusted_host_name)

    Method: DELETE

    Description: Deletes the given trusted host.

    Parameter Name

    Data Type

    Mandatory

    Description

    Input Parameters:

     

     

     

    ip_address

    Alphanumeric

    Optional

    IP address of the trusted host.

    mask

    Alphanumeric

    Optional

    Associated subnet mask.

    comments

    Alphanumeric

    Optional

    Description about the trusted host.

    Example:

    Request:

    curl http://192.168.0.1:8000/restapi/v1/trusted_host_groups/group1/trusted_hosts/Host1 -u 'eyJldCI6IjEluIn0=\n:' -X DELETE

     

    Response:

    {"msg":"Successfully deleted","token":"eyJldCI6IjEIn0=\n"}


    We value your feedback.
    If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
    For general product inquiries or technical support, please contact the global Barracuda Support team.

    {"serverDuration": 11, "requestCorrelationId": "96cf3570dfa84364a69e9842b9aac1fb"}