Users

Get user trusted devices

Changed on

Retrieve all active trusted devices for the user.

get/api/users/{userId}/trusted-devices

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/users/{userId}/trusted-devices
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Path parameters

userIdstring required

The unique identifier of the user.

Response

A list of the user's active trusted devices.

idstring required
userAgentstring nullable required
countrystring nullable required
citystring nullable required
createdAtnumber required
lastUsedAtnumber required
expiresAtnumber required

Changes