This URL deletes the specified firewall policy.
Resource URL
DELETE /firewallpolicy/<policy_id>
Request Parameters
URL Parameters:
Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| Policy id | Number | Yes |
Response Parameters
Following fields are returned if the request parameters are correct, otherwise error details are returned.
Field Name | Description | Data Type |
|---|---|---|
| Update status | Number |
Example
Request
DELETE https://<NSM_IP>/sdkapi/firewallpolicy/120
Response
{
"status":1
}
Error Information
Following error code is returned by this URL:
S.No | HTTP Error Code | SDK API errorId | SDK API errorMessage |
|---|---|---|---|
1 | 404 | 1801 | Invalid firewall policy id/ firewall policy not visible to this domain |