Remove Trusted Device
You can remove the current device from being a trusted device.
In the future, you can also revoke other trusted devices from any trusted device.

Removing this Trusted Device

To remove the current device from being a trusted device, do the following:
1
TrustedDeviceHelper.removeDevice(this, new Callback() {
2
@Override
3
public void onSuccess(JSONObject result) {
4
Toast.makeText(getApplicationContext(), result.toString(), Toast.LENGTH_SHORT).show();
5
}
6
​
7
@Override
8
public void onError(String error) {
9
Toast.makeText(getApplicationContext(), error, Toast.LENGTH_SHORT).show();
10
}
11
});
Copied!
You cannot remove the last Trusted Device. You will need to have 1 remaining Trusted Device.
Last modified 1yr ago