deregisterUser
Deregistration is the process of removing a user (profile) from the device and server.
To obtain a list of potential profiles that can be removed from the device use getUserProfiles.
Future<void> deregisterUser(String profileId)
await Onegini.instance.userClient
.deregisterUser(profileId)
.catchError((error) {
print("Deregistration failed: " + error.message);
});