---
title: "Revoke one of your personal access tokens"
method: DELETE
path: "/api/workspaces/{workspaceId}/api-tokens/{tokenId}"
tags: ["Personal Access Tokens"]
---

# Revoke one of your personal access tokens

`DELETE /api/workspaces/{workspaceId}/api-tokens/{tokenId}`

## Request

- Base URL: `https://hiveship.app/api`
- URL: `https://hiveship.app/api/api/workspaces/{workspaceId}/api-tokens/{tokenId}`
- Auth: API key in cookie `hiveship_access`

## Path parameters

- `tokenId` string, required

## Response `200`

Revoked

- object
  - `success` boolean, required
  - `data` unknown, required

## Other responses

- `404`: Token not found or not yours

---

[API](https://skmtc.dev/hiveship/apis/hiveship-api.md) · [All operations](https://skmtc.dev/hiveship/apis/hiveship-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hiveship/apis/hiveship-api/revisions/73d3e26544e4?raw)
