Auth
Rename passkey
Change the label of one of the authenticated account's passkeys.
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PATCH "https://loading/api/auth/passkey/string" \ -H "Content-Type: application/json" \ -d '{}'{
"data": {
"id": "a1b2c3d4-0000-4000-8000-000000000000",
"name": "My laptop",
"device_type": "multiDevice",
"backed_up": true,
"discoverable": true,
"transports": [
"internal",
"hybrid"
],
"created_at": 1680000000000,
"last_used_at": 1680000000000
},
"error": null,
"time": 1680000000000,
"request": "/api/endpoint"
}{
"data": null,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found.",
"status": 404
},
"time": 1680000000000,
"request": "/api/endpoint"
}{
"data": null,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found.",
"status": 404
},
"time": 1680000000000,
"request": "/api/endpoint"
}