secrets

SecretVersionLifecycle_destroyVersion

Alpha

POST /v1/projects/{project}/locations/{location}/secrets/{secret}/versions/{version}:destroyVersion
PropertyValue
Permissionsecrets.versions.destroy
RiskR4
Lifecyclealpha
Request bodyno
Agent toolnever (a person only)

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 destroy-version