---
title: "Delete an API Key"
method: DELETE
path: "/apiKeys/{apiKey}"
tags: ["API Keys"]
---

# Delete an API Key

`DELETE /apiKeys/{apiKey}`

## Request

- Base URL: `https://eu-west-1.api.silverflow.com/v1`
- URL: `https://eu-west-1.api.silverflow.com/v1/apiKeys/{apiKey}`
- Auth: one of:
  - HTTP basic
  - HTTP bearer
- TypeScript: <https://skmtc.dev/silverflow/apis/silverflow-api/docs/apiKeys/:apiKey/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deleting an API Key can take up to 5 minutes to become effective.

Requires `apiKeys:Archive` permission.

## Path parameters

- `apiKey` string, required: Uniquely identifies an API Key

## Headers

- `If-Match` integer

## Response `204`

API Key deleted successfully

## Other responses

- `401`: Authentication information is missing or invalid
- `403`: The authenticated client is forbidden to make the request for the resource identified.
- `404`: The requested resource was not found
- `409`: The request could not be completed due to a conflict with the current state of the resources involved in the request.
- `412`: The conditions specified in the HTTP headers of the request were not met.
- `429`: The number of requests (per minute) has exceeded the configured maximum

---

[API](https://skmtc.dev/silverflow/apis/silverflow-api.md) - [All operations](https://skmtc.dev/silverflow/apis/silverflow-api/llms.txt) - [OpenAPI document](https://skmtc.dev/silverflow/apis/silverflow-api/revisions/43ecbe4fd6ea?raw)
