Rename one current user's passkey.
curl --request PATCH \ --url https://auth.example.com/api/account/passkeys/example \ --header 'Content-Type: application/json' \ --cookie authrim_session=<authrim_session> \ --data '{ "device_name": "example" }'Updates the display name of a passkey owned by the authenticated Account Page user.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Request Body required
Section titled “Request Body required ”object
Example generated
{ "device_name": "example"}Responses
Section titled “ Responses ”Account Page passkey response.
object
object
Display-only WebAuthn authenticator AAGUID. Do not use for trust decisions.
Example generated
{ "passkey": { "id": "example", "device_name": "example", "aaguid": "example", "provider": { "aaguid": "example", "name": "example", "icon_dark": "example", "icon_light": "example", "known": true }, "created_at": 1, "last_used_at": 1 }}Error response.
object
Stable Authrim error category that can be provided to support.
Opaque occurrence identifier that can be provided to support for correlation.
Example generated
{ "error": "example", "message": "example", "error_description": "example", "error_code": "example", "error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Error response.
object
Stable Authrim error category that can be provided to support.
Opaque occurrence identifier that can be provided to support for correlation.
Example generated
{ "error": "example", "message": "example", "error_description": "example", "error_code": "example", "error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Error response.
object
Stable Authrim error category that can be provided to support.
Opaque occurrence identifier that can be provided to support for correlation.
Example generated
{ "error": "example", "message": "example", "error_description": "example", "error_code": "example", "error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Error response.
object
Stable Authrim error category that can be provided to support.
Opaque occurrence identifier that can be provided to support for correlation.
Example generated
{ "error": "example", "message": "example", "error_description": "example", "error_code": "example", "error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}