v1
latestOpenAPI 3.0.02026-07-2251509353.3 KBSecretsManagementPublicApi
Public-Docs
Update secret environment override value
Sets or removes an environment-specific override for a secret. Pass null as the value to delete the override. Use versionVariant to target the draft or published version of the environment.
patch/v1/secrets-management/projects/{projectID}/environments/{projectEnvironmentIDOrAlias}/secrets/{secretName}
Path parameters
projectIDstring required
projectEnvironmentIDOrAliasstring required
The ID or alias of the environment to target (ie. main). You can find this in the environments page of your agent.
💡 Tip: Learn more about Environments.
secretNamestring required
Query parameters
versionVariant'draft' | 'published'