Use this method to remove the given value(s) from the list variable. This will not remove values from tied variables. For removing values from tied variables, use the config.delete method.
Parameters Allowed
The following parameters are used by the config.remove 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 should be removed.
values – A required parameter specifying a list of values to be removed.
Example: Removing values from a variable under global scope
Removes host/domain name values 'mytrustedrelay1.com' and 'mytrustedrelay2.com from the mta_trusted_relay_host list. These Trusted Relay Host/Domain names are added or deleted on the ADVANCED > Outbound page in the web interface and represent trusted relays on the Barracuda Email Security Gateway.
Arguments
- parent_type: 'global',
- parent_path: ''
- variable: 'mta_trusted_relay_host'
- values: ['mytrustedrelay1.com', 'mytrustedrelay2.com']