Skip to main content
GET
/
api
/
admin
/
users
/
{userId}
/
trusted-devices
List a target user's active MFA-trusted devices (admin)
curl --request GET \
  --url https://pria.praxislxp.com/api/admin/users/{userId}/trusted-devices \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "devices": [
    {
      "id": "<string>",
      "deviceId": "<string>",
      "sourceIp": "<string>",
      "ua": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "lastUsedAt": "2023-11-07T05:31:56Z",
      "expiresAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT token passed in authorization header

Path Parameters

userId
string
required

Response

List of active trusted devices for the target user.

success
boolean
devices
object[]