08-03-2020 10:56
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-03-2020 10:56
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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!
Answered! Go to the Best Answer.

- Labels:
-
Subscriptions API
Accepted Solutions
08-03-2020 12:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



08-03-2020 12:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

08-03-2020 12:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



08-03-2020 12:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

