Use action=delete to delete an object at a specified location in the configuration. Use the xpath parameter to specify the location of the object to be deleted.
Delete Configuration
Delete a rule named rule1 in the security policy: https://firewall/api/?type=config&action=delete&xpath=/config/devices/entry/vsys/entry/rulebase/security/rules/entry[@name='rule1']
Delete a single member object in a group, use the object name in the xpath as member[text()='name'] . For example, to delete a static address object named abc in an address group named test, use the following xpath: https://firewall/api/?type=config&action=delete&xpath=/config/devices/entry/vsys/entry[@name='vsys1']/address-group/entry[@name='test']/static/member[text()='abc']

Related Documentation