---
title: "Update secret"
method: PATCH
path: "/projects/{project_id}/secrets/{secret_id}"
tags: ["secret"]
---

# Update secret

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

## Path parameters

- `project_id` integer, required
- `secret_id` integer, required

## Request body

- Secret
  - `id` integer
  - `name` string
  - `data` string

## Response `200`

Updated

## Changes

- **2020-09-28** `c4b3505de7df` — 2 breaking
  - removed the request body
  - removed the media type `*/*` for the response with the status `200`

[Change history](https://skmtc.dev/caraml-dev/apis/merlin/changes/projects/:project_id/secrets/:secret_id/patch.md)

---

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