This URL deletes the policy group.
Resource URL
PUT domain/<domain_id>/policygroup/<policygroup_id>
Request Parameters
URL Parameters:
Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| Domain id | Number | Yes |
| Policy group 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/domain/0/policygroup/1
Response
{
"status": 1
}
Error Information
Following error codes are returned by this URL:
No | HTTP Error Code | SDK API errorId | SDK API errorMessage |
|---|---|---|---|
1 | 400 | 4301 | Invalid domain id |
2 | 400 | 9000 | Invalid policy group |