POST
/
users
/
{userId}
/
devices
/
{deviceId}
/
invalidate
Invalidate device
curl --request POST \
  --url https://api.authsignal.com/v1/users/{userId}/devices/{deviceId}/invalidate
{
  "userId": "<string>",
  "deviceId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "authenticatedAt": "2023-11-07T05:31:56Z",
  "invalidatedAt": "2023-11-07T05:31:56Z",
  "lastVerificationMethod": "SMS"
}

Path Parameters

userId
string
required

The ID of the user.

deviceId
string
required

The ID of the device.

Response

OK

userId
string
required

The ID of the user.

deviceId
string
required

The ID of the device.

createdAt
string<date-time>
required

The time when the device was first created.

authenticatedAt
string<date-time>

The time when the device was last authenticated.

invalidatedAt
string<date-time>

The time when the device was invalidated.

lastVerificationMethod
enum<string>

The verification method last used on this device.

Available options:
SMS,
AUTHENTICATOR_APP,
EMAIL_MAGIC_LINK,
EMAIL_OTP,
PUSH,
DEVICE,
SECURITY_KEY,
PASSKEY,
VERIFF,
IPROOV,
PALM_BIOMETRICS_RR,
IDVERSE