---
title: "Changes to Update a user secret"
method: PATCH
path: "/api/v2/users/{user}/secrets/{name}"
---

# Changes to Update a user secret

`PATCH /api/v2/users/{user}/secrets/{name}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 308 revisions.

- **2026-09-02** `4700c8f6c359`: 2 info
- **2026-05-04** `6865e861885f`: 1 info

## Changes

- **2026-09-02** `4700c8f6c359`: 2 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `409`
- **2026-05-04** `6865e861885f`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/coder/apis/coder-api/docs/api/v2/users/:user/secrets/:name/patch.md) - [API](https://skmtc.dev/coder/apis/coder-api.md) - [Page](https://skmtc.dev/coder/apis/coder-api/changes/api/v2/users/:user/secrets/:name/patch)
