v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13174266.2 KB
projects

Disables a SecretVersion. Sets the state of the SecretVersion to DISABLED.

post/v1/{+name}:disable

Path parameters

namestring required

Required. The resource name of the SecretVersion to disable in the format projects/*/secrets/*/versions/* or projects/*/locations/*/secrets/*/versions/*.

Request body

etagstring

Optional. Etag of the SecretVersion. The request succeeds if it matches the etag of the currently stored secret version object. If the etag is omitted, the request succeeds.

Response

Successful response