---
title: "Updates a WebAuthn credential"
method: PATCH
path: "/webauthn/credentials/{id}"
tags: ["WebAuthn"]
deprecated: true
---

# Updates a WebAuthn credential

`PATCH /webauthn/credentials/{id}`

> **Deprecated.**

Updates the specified WebAuthn credential. Only credentials assigned to the current user can be updated.

## Path parameters

- `id` string, uuid4, required

## Request body

- object
  - `name` string — A new credential name. Has no technical meaning, only serves as an identification aid for the user.

## Response `200`

Credential updated successfully

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal server error

---

[API](https://skmtc.net/hanko/apis/hanko-admin-api.md) · [All operations](https://skmtc.net/hanko/apis/hanko-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hanko/hanko-admin-api/versions/d22a127b0978/schema)
