Delete all subscriptions for the user

The delete all subscriptions for the user request allows the client application to delete all the lifecycle and resource subscription of the logged-in user..

Delete all subscriptions for the user describes the API structure for deleting all subscriptions for the user.

Table 1. Delete all subscriptions for the user
Title Delete all subscriptions for the user
URL

http://<impact_url>/m2m/subscriptions

Method DELETE
Content-Type application/json
URL Params

None

Data Params

msg:[string] : info/warning/error message

Success Code
Response Code: 200
Error Code
204 : No Content 
401 : Unauthorized 
404 : Not Found
Sample Call Curl:
curl -X DELETE --header 'Accept: application/json'  --header 'Authorization: Basic ZG9jdXNlcjpBc2RmMSM=' 'http://<impact_url>/m2m/subscriptions'
Response Body:
{
  "msg": "Success","code" :1000
}
Notes

This API does not have any input parameters and must be used with caution.