Unregister FIDO device

View as markdown
DELETE /auth/fido

Unregister a FIDO device from WebAuthn authentication. It requires two-factor authentication verification.

application/json

Body Required

  • totp string

    TOTP verification code

  • email_otp string

    Email OTP verification code

  • fido_authentication_response object

    FIDO authentication response

  • recovery_code string

    Recovery code for two-factor authentication

  • device_name string Required

    Name of the FIDO device to unregister

Responses

  • 200

    FIDO device unregistered

  • 400

    FIDO not enabled or verification failed

DELETE /auth/fido
curl \
 --request DELETE 'http://api.example.com/auth/fido' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"totp":"string","email_otp":"string","fido_authentication_response":{},"recovery_code":"string","device_name":"string"}'
Request examples
{
  "totp": "string",
  "email_otp": "string",
  "fido_authentication_response": {},
  "recovery_code": "string",
  "device_name": "string"
}