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

Subscriptions - Deleted Users Notifications - Collection

ANSWERED

I had a question on the implementation of deleted user notifications.

 

It's similar to https://community.fitbit.com/t5/Web-API-Development/Seeking-more-details-on-correct-way-to-implement..., but need futher clarification.

 

The documentation at "Notification of Deleted Users" says that the notification comes via subscriber endpoint with a collectionType of "deletedUsers".

{
  "collectionType": "deleteUser",
  "date": "2018-04-20",
  "ownerId": "184X36",
  "ownerType": "user",
  "subscriptionId": "123"
}

However, the collection "deletedUser" is not one of the collections listed in the "Adding a Subscription" section. 

 

That begs the following questions:

  • Is "deletedUser" a collectionType you can/should create a user for?
  • If not, which subscriber would we expect the deletedUser message to be sent to? Default subscriber? Any subscriber?

Thanks in advance!

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Hi @Jeff_New_Ocean 

 

You do not add a subscription for the deleteUser collection to receive the deleteUser notifications.  We will automatically send the notifications to the default subscriber.   

 

I'll make certain to update the documentation with this information.

 

Gordon

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

View best answer in original post

Best Answer
0 Votes
1 REPLY 1

Hi @Jeff_New_Ocean 

 

You do not add a subscription for the deleteUser collection to receive the deleteUser notifications.  We will automatically send the notifications to the default subscriber.   

 

I'll make certain to update the documentation with this information.

 

Gordon

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes