Dev's NoxDev's Nox
Auth

Delete passkey

Remove one of the authenticated account's passkeys. Requires verification (factor_code) because it is a security-sensitive action.

DELETE
/api/auth/passkey/{id}

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

factor_code?string

Verification code (TOTP, email or passkey) proving the account owner approved this removal

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://loading/api/auth/passkey/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "data": {
    "success": true
  },
  "error": null,
  "time": 1680000000000,
  "request": "/api/endpoint"
}
{
  "data": null,
  "error": {
    "code": "NOT_FOUND",
    "message": "Resource not found.",
    "status": 404
  },
  "time": 1680000000000,
  "request": "/api/endpoint"
}
{
  "data": null,
  "error": {
    "code": "NOT_FOUND",
    "message": "Resource not found.",
    "status": 404
  },
  "time": 1680000000000,
  "request": "/api/endpoint"
}
{
  "data": null,
  "error": {
    "code": "NOT_FOUND",
    "message": "Resource not found.",
    "status": 404
  },
  "time": 1680000000000,
  "request": "/api/endpoint"
}