---
title: "Revoke an agent"
method: DELETE
path: "/v1/agents/{agent_id}"
tags: ["agents"]
---

# Revoke an agent

`DELETE /v1/agents/{agent_id}`

## Request

- Base URL: `https://api.spendnod.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.spendnod.com/v1/agents/{agent_id}`
- Auth: none declared

Sets the agent's status to 'revoked'. The record is preserved for audit history.

## Path parameters

- `agent_id` string, uuid, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

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