---
title: "Update Credential"
method: PATCH
path: "/{tenant_id}/credentials/{credential_id}"
tags: ["credentials"]
---

# Update Credential

`PATCH /{tenant_id}/credentials/{credential_id}`

Endpoint for updating a webauthn credential

## Path parameters

- `credential_id` string, required
- `tenant_id` string, uuid, required

## Headers

- `apiKey` string, required

## Request body

- object
  - `name` string, required

## Response `204`

No Content

## Other responses

- `400` — Error Response with detailed information
- `401` — Error Response with detailed information
- `404` — Error Response with detailed information
- `500` — Error Response with detailed information

---

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