---
title: "Delete a service account token"
method: DELETE
path: "/api/v3/workspaces/{workspace}/service-account-tokens/{tokenId}"
tags: ["Service Account Tokens"]
---

# Delete a service account token

`DELETE /api/v3/workspaces/{workspace}/service-account-tokens/{tokenId}`

Permanently deletes the token, its scopes, and the backing service-account user.

## Path parameters

- `workspace` string, required
- `tokenId` string, uuid, required

## Response `204`

Deleted

## Other responses

- `404` — Not found

---

[API](https://skmtc.dev/runwhen/apis/runwhen-platform-api.md) · [All operations](https://skmtc.dev/runwhen/apis/runwhen-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/runwhen/runwhen-platform-api/revisions/9d1a64d4b1c1/schema)
