---
title: "Deactivate token"
method: DELETE
path: "/servers/{serverID}/tokens/{tokenID}"
tags: ["Tokens"]
---

# Deactivate token

`DELETE /servers/{serverID}/tokens/{tokenID}`

Deactivates an agent token, preventing further authentication

## Path parameters

- `serverID` string, required
- `tokenID` integer, required

## Response `200`

OK

- object

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

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