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#
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | required | The 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.
| Status | Code | Meaning |
|---|---|---|
| 401 | unauthorized | No credentials, or the API key or session is invalid or revoked. |
| 404 | not_found | No such route, or the resource doesn't exist in your workspace. |
| 500 | internal_error | Something went wrong on Logu's side. |