> ## Documentation Index
> Fetch the complete documentation index at: https://hexelstudio.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Update User Secret

Update a user secret by its ID for the current user.

* **Method:** PUT
* **Path:** `/api/v1/user-secrets/{secret_id}`

## Path Parameter

* `secret_id` (integer, required): The ID of the user secret

## Request Body

Refer to the `UserSecretUpdate` schema in the OpenAPI playground.

## Response

Returns a `UserSecretResponse` object on success.

<OpenAPIPlayground endpoint="/api/v1/user-secrets/{secret_id}" method="PUT" />
