---
title: "Revoke the agent card"
method: POST
path: "/v1/inboxes/{id}/agent/revoke"
tags: ["Agent network"]
---

# Revoke the agent card

`POST /v1/inboxes/{id}/agent/revoke`

## Request

- Base URL: `https://api.agentboxd.com`
- URL: `https://api.agentboxd.com/v1/inboxes/{id}/agent/revoke`
- Auth: HTTP bearer

`{ reason? }` (up to 500 characters). The agent stops signing its agent messages (recipients see `agent.verified: false`, `reason: "revoked"`) and directory verify answers `revoked`. Mail keeps flowing both ways. Idempotent. Emits `agent.revoked`.

Permission: `directory:write`.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `reason` string

## Response `200`

OK

- object

## Other responses

- `4XX`: Error
- `5XX`: Error

---

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