Hanzo
OpenapiIam

Returns one passkey or security key: whose it is, what device it lives on, and…

Returns one passkey or security key: whose it is, what device it lives on, and when it was registered.

POST /v1/iam/webauthn-credentials/get

Addresshttps://api.hanzo.ai/v1/iam/webauthn-credentials/get
MethodPOST
OperationgetWebauthnCredential
AuthAuthorization: Bearer $HANZO_API_KEY

Returns one passkey or security key: whose it is, what device it lives on, and when it was registered.

Request

2 fields, body application/json (required).

FieldInTypeRequiredDescription
namebodystringyes
ownerbodystringyes

Response

StatusBodyMeaning
200iam.webauthnCredentialResultok

200 body — 22 fields.

FieldInTypeAlwaysDescription
webauthnCredentialbodyiam.WebauthnCredential
webauthnCredential.aaguidbodystring
webauthnCredential.attachmentbodystring
webauthnCredential.attestationFormatbodystringAttestationFormat is the statement format the authenticator attested in ("packed", "apple", "none", …), which is a DIFFERENT value from the attestation type…
webauthnCredential.attestationTypebodystring
webauthnCredential.backupEligiblebodyboolean
webauthnCredential.backupStatebodyboolean
webauthnCredential.cloneWarningbodyboolean
webauthnCredential.createdAtbodystring (date-time)
webauthnCredential.createdTimebodystring
webauthnCredential.credentialIdbodystring
webauthnCredential.deletedbodyboolean
webauthnCredential.idbodystring
webauthnCredential.namebodystring
webauthnCredential.ownerbodystring
webauthnCredential.publicKeybodystring
webauthnCredential.signCountbodyinteger
webauthnCredential.transportbodystring[]
webauthnCredential.updatedAtbodystring (date-time)
webauthnCredential.userbodystring
webauthnCredential.userPresentbodyboolean
webauthnCredential.userVerifiedbodyboolean

Failure carries the platform error shape — see Errors.

Examples

hanzo iam webauthn-credentials get \
  --name <name> \
  --owner <owner>

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page