This URL deletes a Suricata Sensor.
Resource URL
domain/<domain_ID>/device/<device_ID>
Request Parameters
URL parameters:
Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| Domain ID details | Number | Yes |
| Device ID details | Number | Yes |
Response Parameters
Following fields are returned if the request parameters are correct.
Field Name | Description | Data Type |
|---|---|---|
| Delete status | Number |
Example
Request
DELETE https://<IPSM_IP>/sdkapi/domain/0/device/1040
Response
{
"status": 1
}
Error Information
The following error code is returned by this URL:
S.No | Generic Error Codes | ErrorMessage | Error Reason |
|---|---|---|---|
1 | 1001 | Bad URL - HTTP 404 Not Found | Mistyped URL |
Internal Error – Null | Incorrect Input data, authentication issues |