---
title: "Update Identity"
method: PUT
path: "/v1/identities/{identity_id}"
tags: ["Identities"]
---

# Update Identity

`PUT /v1/identities/{identity_id}`

Updates an existing identity's name, metadata, or credentials.

## Path parameters

- `identity_id` string, uuid, required

## Request body

- UpdateIdentityRequestSchema
  - `name` string — Name of the identity
  - `metadata` object — Metadata for the identity
  - `credentials` CredentialSchema[] — Array of credentials for authentication
    - union
      - UsernamePasswordCredentialSchema
        - `type` 'username_password' — The type of credential
        - `username` string — The username of the credential
        - `password` string — The password of the credential
      - AuthenticatorCredentialSchema
        - `type` 'authenticator' — The type of credential
        - `secret` string — The secret of the credential
        - `otp` string — The OTP of the credential
      - CustomCredentialSchema
        - `type` 'custom' — The type of credential
        - `fields` object[]
          - `name` string — The name of the field
          - `value` string — The value of the field

## Response `200`

Identity updated successfully

- UpdateIdentityResponseSchema
  - `id` string, uuid — Unique identifier for the identity
  - `name` string — Name of the identity
  - `metadata` object — Metadata associated with the identity
  - `updated_at` string, date-time — Timestamp when the identity was last updated

## Other responses

- `404` — Identity not found
- `500` — Failed to update identity

## Changes

- **2026-01-02** `4b12d8cb611b` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/anchorbrowser/apis/anchorbrowser-api/changes/v1/identities/:identity_id/put.md)

---

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