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

# POST /v2/{+name}:undelete

`POST /v2/{+name}:undelete`

Undeletes an API key which was deleted within 30 days. NOTE: Key is a global resource; hence the only supported value for location is `global`.

## Path parameters

- `name` string, required

## Request body

- V2UndeleteKeyRequest — Request message for `UndeleteKey` method.

## 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)
