: Override Configuration
Focus
Focus

Override Configuration

Table of Contents
End-of-Life (EoL)

Override Configuration

Use action=override to override a setting that was pushed to a firewall from a template. Use the xpath parameter to specify the location of the object to override.
  1. Override the SNMP Trap profile configuration settings that were pushed to the firewall using a template:
    curl -X POST 'https://firewall/api?type=config&action=override&xpath=/config/shared/log-settings/snmptrap&element=<entry name="snmp" src="tpl"><version src="tpl"><v2c src="tpl"><server src="tpl"><entry name="test" src="tpl"><manager src="tpl">2.2.2.2</manager><community src="tpl">test</community></entry></server></v2c></version></entry>"
  2. Confirm that the XML response for the request looks like the following:
    <response status="success" code="20"> <msg>command succeeded</msg> </response>