---
title: "Changes to Update a project secret. Value rotation requires a redeploy to take effect —\nrunning containers keep their currently-mounted values until the next\ndeployment."
method: PUT
path: "/projects/{project_id}/secrets/{secret_id}"
---

# Changes to Update a project secret. Value rotation requires a redeploy to take effect —
running containers keep their currently-mounted values until the next
deployment.

`PUT /projects/{project_id}/secrets/{secret_id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 6 of 383 revisions.

- **2026-11-26** `e1864d950604`: 2 breaking
- **2026-11-25** `480a86944327`: 1 info
- **2026-09-07** `cdc1afae1752`: 2 info
- **2026-09-07** `f7404eb7ac98`: 1 breaking, 1 warning
- **2026-08-17** `bd326cf0ea13`: 2 info
- **2026-05-30** `b72341d12f63`: 1 info

## Changes

- **2026-11-26** `e1864d950604`: 2 breaking
  - the `created_at` response's property type changed from `integer` to `string`, and format from `int64` to `date-time` for status `200`
  - the `updated_at` response's property type changed from `integer` to `string`, and format from `int64` to `date-time` for status `200`
- **2026-11-25** `480a86944327`: 1 info
  - the endpoint scheme security `bearer_auth` was added to the API
- **2026-09-07** `cdc1afae1752`: 2 info
  - added the new optional request property `compose_services`
  - added the required property `compose_services` to the response with the `200` status
- **2026-09-07** `f7404eb7ac98`: 1 breaking, 1 warning
  - removed the required property `compose_services` from the response with the `200` status
  - removed the request property `compose_services`
- **2026-08-17** `bd326cf0ea13`: 2 info
  - added the new optional request property `compose_services`
  - added the required property `compose_services` to the response with the `200` status
- **2026-05-30** `b72341d12f63`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/gotempsh/apis/temps/docs/projects/:project_id/secrets/:secret_id/put.md) - [API](https://skmtc.dev/gotempsh/apis/temps.md) - [Page](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/secrets/:secret_id/put)
