Rekamedika Docs
Passkey

POST /passkey/update-passkey

POST
/api/auth/passkey/update-passkey

Update a specific passkey's name

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

id*string

The ID of the passkey which will be updated. Eg: "passkey-id"

name*string

The new name which the passkey will be updated to. Eg: "my-new-passkey-name"

Length1 <= length

Response Body

application/json

curl -X POST "https://example.com/api/auth/passkey/update-passkey" \  -H "Content-Type: application/json" \  -d '{    "id": "string",    "name": "string"  }'
{  "passkey": {}}

Is this page helpful?