Delete subscriptions via api
-
I seem to have double resource and lifecycle subscriptions for my device. I tried to delete them via postman but the api in the postman flie seems incomplete and does not work wharis the correct request and request body
-
The correct syntax for deleting a subscription is
curl --location --request DELETE 'https://iot.netwerk.t-mobile.nl/m2m/subscriptions/98f7bf0b-0000-0000-000-e077030e42ae' \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic xxx' \ --data-raw ''
The subscription Id to be used is the one of the packets that you receive!
And Basic Auth is your authorization header. -
@Eric-Barten Thanks, that worked!
-
@Eric-Barten I still get the extra messages delivered even after deleting all but one subscriptions. Any thoughts on how to tackle this? Could it have something to do with downlinks not arriving? for example how lomg should I wait after sending before receiving?