Delete endpoint

The delete endpoint request allows the client application to delete an endpoint from IMPACT.

Delete endpoint describes the API structure for delete endpoint request.

Table 1. Delete endpoint
Title Delete endpoint
URL

http://<impact_url>/m2m/endpoints/{SerialNumber}

Method DELETE
Content-Type application/json
URL Params

serialNumber:[string]: Specifies the serial number of the endpoint which needs to be deleted from the IMPACT.

Data Params

None

Success Code Response Code: 200
Error Code
401 : Unauthorized 
403 : Forbidden 
404 : Not Found
Sample Call Curl:
curl -X DELETE --header 'Accept: application/json'  --header 'Authorization: Basic c2lwMDJ0ZXN0Ok5va2lhQDIxMjE=' 'http://<impact_url>/m2m/endpoints/9780828110'
Response Body:
{
  "msg": "Device deleted successfully","Code":3042
}
Notes

None