Move Configuration
Use
action=move
to
move the location of an existing configuration object. Use thexpath
parameter
to specify the location of the object to be moved, thewhere
parameter
to specify type of move, anddst
parameter
to specify the destination path. - where=after&dst=xpath
- where=before&dst=xpath
- where=top
- where=bottom
- Use the following API query to move a security policy calledrule1to come afterrule2:curl -X GET "https://<firewall>/api/?key=apikey&type=config&action=move&xpath=/config/devices/entry/vsys/entry[@name='vsys1']/rulebase/security/rules/entry[@name='rule1']&where=after&dst=rule2"Confirm that the XML response for the request looks like the following:<response status="success" code="20"> <msg>command succeeded</msg> </response>
Most Popular
Recommended For You
Recommended Videos
Recommended videos not found.