---
title: "Update all fields on an authenticator of this identity"
method: PUT
path: "/current-identity/authenticators/{id}"
tags: ["Current API Session"]
---

# Update all fields on an authenticator of this identity

`PUT /current-identity/authenticators/{id}`

## Request

- Base URL: `https://demo.ziti.dev/edge/client/v1`
- URL: `https://demo.ziti.dev/edge/client/v1/current-identity/authenticators/{id}`
- Auth: one of:
  - API key in header `zt-session`
  - OAuth 2
    - Authorization code: `/oidc/authorize`
    - Token URL: `/oidc/token` scopes: `openid`
- TypeScript: <https://skmtc.dev/openziti/apis/ziti-edge-client/docs/current-identity/authenticators/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

Update all fields on an authenticator by id.  Will only update authenticators assigned to the API session's
identity.

## Path parameters

- `id` string, required

## Request body

- AuthenticatorUpdateWithCurrent: All of the fields on an authenticator that will be updated
  - `password` string, required
  - `tags` Tags
  - `username` string, required
  - `currentPassword` string, required

## Response `200`

The update request was successful and the resource has been altered

- Empty
  - `data` object, required
  - `meta` Meta, required
    - `apiEnrollmentVersion` string
    - `apiVersion` string
    - `filterableFields` string[]
    - `pagination` Pagination
      - `limit` number, required
      - `offset` number, required
      - `totalCount` number, required

## Other responses

- `400`: The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
- `401`: The supplied session does not have the correct access rights to request this resource
- `404`: The requested resource does not exist

## Changes

- **2026-10-14** `f7b51eaafbbb`: 1 info
  - the request property `allOf[#/components/schemas/authenticatorUpdate]/tags` became nullable
- **2024-05-29** `cce2800c1357`: 4 warning
  - the optional response header `WWW-Authenticate` removed for the status `200`
  - the optional response header `WWW-Authenticate` removed for the status `400`
  - the optional response header `WWW-Authenticate` removed for the status `401`
  - the optional response header `WWW-Authenticate` removed for the status `404`

[Operation history](https://skmtc.dev/openziti/apis/ziti-edge-client/changes/current-identity/authenticators/:id/put.md)

---

[API](https://skmtc.dev/openziti/apis/ziti-edge-client.md) - [All operations](https://skmtc.dev/openziti/apis/ziti-edge-client/llms.txt) - [OpenAPI document](https://skmtc.dev/openziti/apis/ziti-edge-client/revisions/f7b51eaafbbb?raw)
