This URL deletes the inspection options policy.
Resource URL
DELETE /protectionoptionspolicy/<policy_id>
Request Parameters
URL Parameter
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 |
|---|---|---|
| Operation status | Number |
Example
Request
DELETE https://<NSM_IP>/sdkapi/protectionoptionspolicy/1
Response
{
"status":1
}
Error Information
Following error code is returned by this URL:
No | HTTP Error Code | SDK API errorId | SDK API errorMessage |
|---|---|---|---|
1 | 400 | 4301 | Invalid domain id |