Users

Revoke a user's trusted device

Changed on

Revokes an active trusted device enrolled by the user.

delete/users/{user_id}/trusted_devices/{trusted_device_id}

Request

  • Base URL: https://api.clerk.com/v1
  • URL: https://api.clerk.com/v1/users/{user_id}/trusted_devices/{trusted_device_id}
  • Auth: HTTP bearer

Path parameters

user_idstring required

The ID of the user that owns the trusted device

trusted_device_idstring required

The ID of the trusted device to revoke

Response

Success

object'trusted_device' required

String representing the object's type.

idstring required
platform'ios' | 'android' required
app_identifierstring required
namestring nullable
algorithm'ES256' required
status'active' | 'revoked' required
created_atinteger required

Unix timestamp of creation in milliseconds.

updated_atinteger required

Unix timestamp of the last update in milliseconds.

last_used_atinteger nullable

Unix timestamp of the last use in milliseconds.

revoked_atinteger nullable

Unix timestamp of revocation in milliseconds.

Changes