v1

latestOpenAPI 3.1.02026-07-268342124.0 KB
devices

Update device

Update a user's device.

patch/users/{userId}/devices/{deviceId}

Path parameters

userIdstring required

The ID of the user.

deviceIdstring required

The ID of the device.

Request body

rememberedUntilstring date-time nullable

An ISO 8601 timestamp in the future until which the device should be remembered. Pass null to clear an existing value and stop remembering the device. While this timestamp is in the future, the device.isRemembered rules engine feature returns true for actions performed on this device.

Response

OK

userIdstring required

The ID of the user.

deviceIdstring required

The ID of the device.

createdAtstring date-time required

The time when the device was first created.

authenticatedAtstring date-time

The time when the device was last authenticated.

invalidatedAtstring date-time

The time when the device was invalidated.

rememberedUntilstring date-time

The time until which the device is remembered. While this timestamp is in the future, the device.isRemembered rules engine feature returns true for actions performed on this device.

lastVerificationMethod'SMS' | 'AUTHENTICATOR_APP' | 'EMAIL_MAGIC_LINK' | 'EMAIL_OTP' | 'PUSH' | 'DEVICE' | 'SECURITY_KEY' | 'PASSKEY' | 'VERIFF' | 'IPROOV' | 'PALM_BIOMETRICS_RR' | 'IDVERSE'