GET
/
users
/
{id}
/
webauthn_credentials
/
{credential_id}
curl --request GET \
  --url https://{tenant_id}.hanko.io/admin/users/{id}/webauthn_credentials/{credential_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "f9bebc04-b894-4018-bdb8-8b520a532fef",
  "name": "<string>",
  "public_key": "<string>",
  "attestation_type": "<string>",
  "aaguid": "<string>",
  "transports": [
    "<string>"
  ],
  "created_at": "2023-11-07T05:31:56Z",
  "last_used_at": "2023-11-07T05:31:56Z",
  "backup_eligible": true,
  "backup_state": true,
  "mfa_only": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your API key. Must only be used when using Hanko Cloud.

Path Parameters

id
string
required

UUID of the requested object

credential_id
string
required

Response

200
application/json
OK
id
string
required

The ID of the credential

public_key
string
required

The public key of the credential

attestation_type
string
required

The attestation type the credential was registered with

aaguid
string
required

The AAGUID of the authenticator the credentials was created on

created_at
string
required

Time of creation of the credential

backup_eligible
boolean
required

Indicates if the credential can be backed up

backup_state
boolean
required

Indicates if the credential is backed up

mfa_only
boolean
required

Indicates if the credential can only be used as a MFA credential

name
string

A name that the user choose

transports
string[]

The ways the authenticator is connected

last_used_at
string

The time when the credential was last used