Hanzo
OpenapiIam

Removes a passkey or security key — what you call when a device is lost.

Removes a passkey or security key — what you call when a device is lost. Make sure the person has another way to sign in first.

POST /v1/iam/webauthn-credentials/delete

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

Removes a passkey or security key — what you call when a device is lost. Make sure the person has another way to sign in first.

A credential that is already gone answers "nothing changed" rather than an error, so the call is safe to repeat.

Request

2 fields, body application/json (required).

FieldInTypeRequiredDescription
namebodystringyes
ownerbodystringyes

Response

StatusBodyMeaning
200iam.webauthnCredentialMutationResultok

200 body — 23 fields.

FieldInTypeAlwaysDescription
affectedbodyboolean
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 delete \
  --name <name> \
  --owner <owner>

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page