[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Method: googleapis.secretmanager.v1.projects.secrets.versions.destroy\n\nDestroys a SecretVersion. Sets the state of the SecretVersion to\nDESTROYED and irrevocably destroys the secret data.\n\nArguments\n---------\n\nRaised exceptions\n-----------------\n\nResponse\n--------\n\nIf successful, the response contains an instance of [`SecretVersion`](/workflows/docs/reference/googleapis/secretmanager/v1/Overview#SecretVersion).\n\nSubworkflow snippet\n-------------------\n\nSome fields might be optional or required.\nTo identify required fields, refer to the [API documentation](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.secrets.versions/destroy). \n\n### YAML\n\n```yaml\n- destroy:\n call: googleapis.secretmanager.v1.projects.secrets.versions.destroy\n args:\n name: ...\n body:\n etag: ...\n result: destroyResult\n```\n\n### JSON\n\n```json\n[\n {\n \"destroy\": {\n \"call\": \"googleapis.secretmanager.v1.projects.secrets.versions.destroy\",\n \"args\": {\n \"name\": \"...\",\n \"body\": {\n \"etag\": \"...\"\n }\n },\n \"result\": \"destroyResult\"\n }\n }\n]\n```"]]