---
title: "Delete Personal Access Token"
method: DELETE
path: "/api/v1/api-key/current/{pat_id}"
tags: ["api-key"]
deprecated: true
---

# Delete Personal Access Token

`DELETE /api/v1/api-key/current/{pat_id}`

> **Deprecated.**

DEPRECATED: Use /orgs/current/personal-access-tokens/{pat_id} instead

## Path parameters

- `pat_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

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/langchain-ai/apis/langsmith.md) · [All operations](https://skmtc.dev/langchain-ai/apis/langsmith/llms.txt) · [OpenAPI document](https://skmtc.dev/langchain-ai/apis/langsmith/revisions/f5e3aece3f91?raw)
