## UpdateSecretValue **post** `/gitpod.v1.SecretService/UpdateSecretValue` Updates the value of an existing secret. Use this method to: - Rotate secret values - Update credentials ### Examples - Update secret value: Changes the value of an existing secret. ```yaml secretId: "d2c94c27-3b76-4a42-b88c-95a85e392c68" value: "new-secret-value" ``` ### Body Parameters - `secretId: optional string` - `value: optional string` value is the plaintext value of the secret ### Example ```http curl https://app.gitpod.io/api/gitpod.v1.SecretService/UpdateSecretValue \ -H 'Content-Type: application/json' \ -H "Authorization: Bearer $GITPOD_API_KEY" \ -d '{}' ``` #### Response ```json {} ```