---
title: "Delete token"
method: DELETE
path: "/tokens/{token_id}"
tags: ["tokens"]
---

# Delete token

`DELETE /tokens/{token_id}`

Deletes a first-party API token. Admins can delete any token. Non-admins can only delete their own tokens when the organization allows all users to create API tokens.

## Path parameters

- `token_id` string, uuid, required

## Response `200`

The token was successfully deleted.

## Other responses

- `403` — Not authorized to delete this token.
- `404` — Token not found.

---

[API](https://skmtc.net/opal/apis/opal-api.md) · [All operations](https://skmtc.net/opal/apis/opal-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opal/opal-api/versions/13b58df96d40/schema)
