Passkey
POST /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"
Length
1 <= lengthResponse 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?