---
title: "Revoke Current Token"
method: DELETE
path: "/api/v3/agents/me/token"
tags: ["Agents"]
---

# Revoke Current Token

`DELETE /api/v3/agents/me/token`

## Request

- Base URL: `https://ai.virustotal.com`
- URL: `https://ai.virustotal.com/api/v3/agents/me/token`
- Auth: one of:
  - API key in header `x-apikey`
  - HTTP bearer

Revoke the presented Agent Token when credential revocation is enabled.

This removes access for the current agent. It does not delete its history.
Send the token in Authorization: Bearer or x-apikey, never in a body or URL.

## Response `204`

Successful Response

---

[API](https://skmtc.dev/virustotal/apis/virustotal-ai-api.md) · [All operations](https://skmtc.dev/virustotal/apis/virustotal-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/virustotal/apis/virustotal-ai-api/revisions/3c7943feccc6?raw)
