Vishal Jodh
Vishal Jodh

Reputation: 1

How to Remove the User Id and/or Device Id/info from User Id from App Center Push SDK

I have added the UserId (email) in app center sdk using AppCenter.SetUserId("your-user-id"); Now I want to remove these userid from app center sdk. I am not seeing any method for this.

Also, As per my understanding whenever we add user using AppCenter.SetUserId("your-user-id"), it mapped some user device information like device unique id to user id. So I wanted to remove these device from specific userId in App Center Push notification. Thanks

Upvotes: 0

Views: 1231

Answers (2)

Sreejith Vijayan
Sreejith Vijayan

Reputation: 173

I think you could try AppCenter.SetUserId("") to unset it.

Upvotes: 0

Leo Zhu
Leo Zhu

Reputation: 14956

you could refer to the App Center Api

and check the Delete method,is this interface https://openapi.appcenter.ms/#/account/users_removeFromOrg what you want ?

Upvotes: 0

Related Questions