deleteTrustedDevices

client.deleteTrustedDevices({
  accessToken: string,
  // Optional
  trustedDeviceId: string
})

About this command

Delete user’s trusted devices. If a trusted device’s ID is specified, the specific trusted device is removed. Otherwise, all trusted devices are removed. A trusted device is a device the user has a second factor authentication method attached to and has explicitly assigned as trusted.

Examples

client.deleteTrustedDevices('eyJ0eXAiOiJKV1QiL...', 'li3ZK302ko0k43k...')

Parameters

accessToken string

The authorization credential JSON Web Token (JWT) used to access the ReachFive API.

trustedDeviceId string

The ID for a specific trusted device.

Response

Type: Promise[void]