---
title: "Delete API key"
method: DELETE
path: "/api-keys"
---

# Delete API key

`DELETE /api-keys`

## Request body

- DeleteAPIKeyParams
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `identifier` string, required

## Response `200`

OK

- DeleteAPIKeyResponse
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `api_key` APIKey, required
    - `created_at` string, date-time, required
    - `expires_at` string, date-time
    - `identifier` string, required
    - `last_used_at` string, date-time, nullable, required
    - `name` string, required
    - `owner` APIKeyOwner
      - `name` string, required — The owner's name: a user's full name (or email) or a service account's name.
      - `type` 'user' | 'service_account', required — The kind of principal this API key authenticates as.
    - `scopes` string

## Other responses

- `default` — Error

---

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