---
title: "Update a secret"
method: PUT
path: "/v1/secrets/{id}"
tags: ["Secrets"]
---

# Update a secret

`PUT /v1/secrets/{id}`

## Path parameters

- `id` string, required

## Response `200`

---

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