It seems like your browser didn't download the required fonts. Please revise your security settings and try again.

End-of-Sale/Renewals for Models 100 and 200

As of October 4th, 2020, new sales for models 100 and 200 of the Barracuda Email Security Gateway ceased. As of November 30, 2023, renewals for models 100 and 200 of the Barracuda Email Security Gateway have ceased. 

Config.add

  • Last updated on

This method adds the given values to the list variable. This method will not add values to tied variables, and a value added must not already exist in the list. For adding values to tied variables, use the config.create method.

Parameters Allowed

The following parameters are used by the config.add method and should be provided as part of the request XML in the HTTP POST request:

  • password – A required parameter which the API uses to authenticate access to a page and which is set by your administrator.
  • parent_type – A required parameter that tells the API about the class/scope of the parent container.

  • parent_path – A required parameter which is the qualified name of a parent object

  • variable – A required parameter that specifies the variable for which values will be added.

  • values – A required parameter specifying a list of values to be added.

Example: Adding a value to a variable

Add values 192.168.128.34 and 192.168.128.2  to the  mta_trusted_relay_host list.

Arguments
  • parent_type: 'global'
  • parent_path: ''
  • variable: 'mta_trusted_relay_host'
  • values: ['192.168.128.34', '192.168.128.2']
Sample Request
 <?xml version="1.0" encoding="UTF8"?>
<methodCall>
 <methodName>config.add</methodName>
  <params>
   <param>
    <value>
     <struct>
      <member>
       <name>parent_type</name>
        <value> 
         <string>
          <![CDATA[global]]>
         </string>
        </value>
      </member>
      <member>
       <name>variable</name>
        <value>  
         <string>
          <![CDATA[mta_trusted_relay_host]]>
         </string>
        </value>
      </member>
      <member>
       <name>values</name>
        <value>
         <array>
          <data>
            <value>
             <string>
              <![CDATA[192.168.128.34]]>
             </string>
            </value>
            <value>
             <string>
              <![CDATA[192.168.128.2]]>
             </string>
            </value>
           </data>
          </array>
         </value>
        </member>
        <member>
         <name>parent_path</name>
          <value>
           <string></string>
          </value>
        </member>
       </struct>
      </value>
     </param>
   </params>
</methodCall>