---
title: "Delete Api Key"
method: DELETE
path: "/api/v1/api-key/{api_key_id}"
tags: ["api-key"]
---

# Delete Api Key

`DELETE /api/v1/api-key/{api_key_id}`

Delete an api key for the user

## Path parameters

- `api_key_id` string, uuid, required

## Response `200`

Successful Response

- APIKeyGetResponse — API key GET schema.
  - `created_at` string, date-time, nullable
  - `id` string, uuid, required
  - `short_key` string, required
  - `description` string, required
  - `read_only` boolean
  - `last_used_at` string, date-time, nullable
  - `expires_at` string, date-time, nullable
  - `workspace_names` string[], nullable
  - `default_workspace_name` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/langchain-ai/apis/langsmith.md) · [All operations](https://skmtc.net/langchain-ai/apis/langsmith/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/langchain-ai/langsmith/revisions/a0acb3a6a101/schema)
