---
title: "Emergency revoke an Agent and its tokens"
method: POST
path: "/api/v1/agents/{agentId}/kill"
---

# Emergency revoke an Agent and its tokens

`POST /api/v1/agents/{agentId}/kill`

## Request

- Base URL: `https://workers.miniurl.com`
- URL: `https://workers.miniurl.com/api/v1/agents/{agentId}/kill`
- Auth: HTTP bearer

## Path parameters

- `agentId` string, required

## Response `200`

Agent revoked

## Other responses

- `401`: Missing, invalid, expired, or wrong bearer token for this endpoint
- `404`: Requested resource not found

---

[API](https://skmtc.dev/miniurl/apis/miniurl-agent-first-api.md) · [All operations](https://skmtc.dev/miniurl/apis/miniurl-agent-first-api/llms.txt) · [OpenAPI document](https://skmtc.dev/miniurl/apis/miniurl-agent-first-api/revisions/1d12196927db?raw)
