> ## 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 Tenant Secret

Update a secret by its ID for a specific tenant.

* **Method:** PUT
* **Path:** `/api/v1/tenants/{tenant_id}/secrets/{secret_id}`

## Path Parameters

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

## Request Body

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

## Response

Returns a `TenantSecretResponse` object on success.

<OpenAPIPlayground endpoint="/api/v1/tenants/{tenant_id}/secrets/{secret_id}" method="PUT" />
