API reference · Schema
UpdateSecretRequest
namestringEnvironment-variable style name, unique in the project
pattern ^[A-Za-z_][A-Za-z0-9_]{0,127}$
valuestringWrite-only. Never returned.
1–65536 characters
Example
{
"value": "hf_rotated_value"
}Used by
- Rename a secret or replace its value
PATCH /v1/secrets/{secret_id}