---
title: "DELETE /v2/{+name}"
method: DELETE
path: "/v2/{+name}"
tags: ["projects"]
---

# DELETE /v2/{+name}

`DELETE /v2/{+name}`

Deletes an API key. Deleted key can be retrieved within 30 days of deletion. Afterward, key will be purged from the project. NOTE: Key is a global resource; hence the only supported value for location is `global`.

## Path parameters

- `name` string, required

## Query parameters

- `etag` string

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/apikeys.md) · [All operations](https://skmtc.dev/google/apis/apikeys/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/apikeys/revisions/be9946e8f6a0/schema)
