secrets

SecretVersionLifecycle_disableVersion

Alpha

POST /v1/projects/{project}/locations/{location}/secrets/{secret}/versions/{version}:disableVersion
PropertyValue
Permissionsecrets.versions.disable
RiskR2
Lifecyclealpha
Request bodyno
Agent toolyes

Parameters

NameInRequiredType
projectpathyesstring
locationpathyesstring
secretpathyesstring
versionpathyesstring
requestIdquerynostring
if-matchheadernostring

Responses

200, 400, 401, 402, 403, 404, 409, 412, 422, 429, 451, 500, 501, 503, 504

An error is an application/problem+json body; its code is one of the problem codes.

CLI

egulu secrets disable-version