Frontend API
cURL
curl --request PATCH \ --url https://api.wacht.dev/me/passkeys/{id} \ --header 'Content-Type: application/x-www-form-urlencoded' \ --cookie session_id= \ --data 'name=Updated Name'
{ "id": "<string>", "name": "My iPhone", "device_type": "single_device", "created_at": "2023-11-07T05:31:56Z", "last_used_at": "2023-11-07T05:31:56Z" }
"Updated Name"
Passkey renamed
"My iPhone"
"single_device"
Was this page helpful?