LoguDocs
Open Logu

Sign-in · deletePasskey

Remove a passkey

POST /api/auth/passkeys/{id}/delete

It can't sign in anymore. Recorded in the activity log.

Who may call it
Anyone (no credentials)
Server
https://api.logu.dev

Parameters#

NameInTypeRequiredDescription
idpathstringrequiredThe passkey's or session's id. · e.g. Xq3bY7tLmN2pR8sV

Example#

curl -s -X POST "https://api.logu.dev/api/auth/passkeys/Xq3bY7tLmN2pR8sV/delete" \
  -H "Authorization: Bearer $LOGU_SESSION_TOKEN"

Responses#

204

Removed.

Errors#

Every error is {"error":{"code","message","hint","docUrl","requestId"}}: branch on code. See Errors.

StatusCodeMeaning
401unauthorizedNo credentials, or the API key or session is invalid or revoked.
404not_foundNo such route, or the resource doesn't exist in your workspace.
500internal_errorSomething went wrong on Logu's side.