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.var_attr

  • Last updated on

Use this method to list the attributes of the specified variable.

Parameters Allowed

The following variables 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.
  • domain – A required parameter that specifies the variable for which attributes are required.

Example: List the attributes and their values for global Block level.

This example lists the attributes of global blocking: min level, max level, current setting, etc. and returns the current value for each attribute.

Sample Request
 <?xml version="1.0" encoding="UTF8"?>
<methodCall>
 <methodName>config.var_attr</methodName>
  <params>
   <param>
    <value>
     <struct>
      <member>
       <name>variable</name>
        <value>                       
         <string>
         <![CDATA[scana_block_level]]>
         </string>
        </value>
      </member>
     </struct>
    </value>
  </param>
 </params>
</methodCall>
Response
 OK <?xml version="1.0" encoding="UTF8"?>
<methodResponse>
 <params>
  <param>
   <value>
    <struct>
     <member>
       <name>scana_block_level</name>
         <value>
           <struct>
             <member>
              <name>min</name>
              <value>
               <string></string>
              </value>
             </member>
             <member>
              <name>max</name>
              <value>
               <string></string>
              </value>
             </member>
             <member>
              <name>default</name>
              <value>
                <i4>7</i4>
              </value>
             </member>
             <member>
              <name>description</name>
              <value>
               <string>
                <![CDATA[Spam Block Level]]>
               </string>
              </value>
             </member>
             <member>
              <name>choices</name>
               <value>
                <array>
                 <data/>
                </array>
               </value>
             </member>
             <member>
              <name>required</name>
               <value>
                <i4>1</i4>
               </value>
             </member>
             <member>
              <name>class</name>
               <value>
                <string>
                 <![CDATA[global]]>
                </string>
               </value>
             </member>
             <member>
              <name>type</name>
              <value>
               <string>
                <![CDATA[float]]>
               </string>
              </value>
             </member>
            </struct>
           </value>
          </member>
         </struct
       </value>
     </param>
   </params>
</methodResponse>