AuthenticationPasskeys
Delete a passkey
POST
Delete a specific passkey
sessioncookie
gamma.session_token<token>The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.
application/json- body
id*stringThe ID of the passkey to delete. Eg: "some-passkey-id"
Passkey deleted successfully
application/json- response
status*booleanIndicates whether the deletion was successful
Example Request
curl -X POST 'http://localhost:3000/api/auth/passkey/delete-passkey' \ -H 'Content-Type: application/json' \ -d '{ "id": "string"}'Example Response
{ "status": true}