---
title: "Delete Api Key Route"
method: DELETE
path: "/api-keys/{key_id}"
---

# Delete Api Key Route

`DELETE /api-keys/{key_id}`

## Request

- Base URL: `https://api.mapsharvest.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mapsharvest.com/api-keys/{key_id}`
- Auth: none declared

Delete (revoke) an API key by id. Only the owning user can delete it.

## Path parameters

- `key_id` string, required

## Headers

- `authorization` string

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mapsharvest/apis/google-maps-scraper-api.md) · [All operations](https://skmtc.dev/mapsharvest/apis/google-maps-scraper-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mapsharvest/apis/google-maps-scraper-api/revisions/e564e15bb415?raw)
