---
title: "Delete api key"
method: DELETE
path: "/api/v2/api-keys/{id}"
tags: ["APIKey"]
---

# Delete api key

`DELETE /api/v2/api-keys/{id}`

Requires one of the following scopes: `api_keys:delete`, `api_keys:all`, `all:delete`, `all:all`

## Path parameters

- `id` string, uuid, required

## Request body

- unknown

## Response `200`

The deleted API Key

- APIKey — API Key
  - `id` string, uuid, required
  - `name` string, required
  - `scopes` string[], required
  - `key` string, required
  - `organization_id` string, uuid, required
  - `timestamp_created` string, date-time, required
  - `timestamp_updated` string, date-time, required

## Other responses

- `401` — This request is unauthorized (either the Authorization header is missing or invalid, or the API key has been revoked)
- `402` — This request cannot be fulfilled because the workspace does not have an active paid plan
- `404` — The requested resource was not found
- `429` — You have exceeded the rate limit. Please check the rate limit docs for more information.

---

[API](https://skmtc.net/instantly/apis/api-explorer.md) · [All operations](https://skmtc.net/instantly/apis/api-explorer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/instantly/api-explorer/revisions/378d1e253fe7/schema)
