---
title: "POST /v1/{+name}:destroy"
method: POST
path: "/v1/{+name}:destroy"
tags: ["projects"]
---

# POST /v1/{+name}:destroy

`POST /v1/{+name}:destroy`

Schedule a CryptoKeyVersion for destruction. Upon calling this method, CryptoKeyVersion.state will be set to DESTROY_SCHEDULED, and destroy_time will be set to the time destroy_scheduled_duration in the future. At that time, the state will automatically change to DESTROYED, and the key material will be irrevocably destroyed. Before the destroy_time is reached, RestoreCryptoKeyVersion may be called to reverse the process.

## Path parameters

- `name` string, required

## Request body

- DestroyCryptoKeyVersionRequest — Request message for KeyManagementService.DestroyCryptoKeyVersion.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/cloudkms.md) · [All operations](https://skmtc.net/google/apis/cloudkms/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/cloudkms/revisions/576b283e53dd/schema)
