Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Remove a Subscription

I am having troubling removing a description via DELETE.

The subscription is created. Receiving notifications on the subscription. Able to see the subscription using List subscriptions.

 

But when I try to delete if I am getting a Not Found error.

 

Any thoughts on what might be going on.

Best Answer
4 REPLIES 4

Did you ever get a resolution for this? I am experiencing the same issue.

Best Answer
0 Votes

This typically means the id was inccorect.

Can you post the response from the list subscriptions endpoint and a raw HTTP request of an attempt to delete the subscription?

 

List Subscriptions: https://wiki.fitbit.com/display/API/Fitbit+Subscriptions+API#FitbitSubscriptionsAPI-Listexistingsubs...

Best Answer
0 Votes

If you have multiple subscribers registered for your application and the subscription is for the non-default subscriber, you'll need to specify the X-Fitbit-Subscriber-Id header. See https://wiki.fitbit.com/display/API/Fitbit+Subscriptions+API

Best Answer
0 Votes

Nevermind - I thought there was a way to remove all subscriptions.  If I remove them one by one, it works fine. Thanks all

Best Answer
0 Votes