---
title: "Delete Agent"
method: DELETE
path: "/api/agents/{agent_id}"
tags: ["agents"]
---

# Delete Agent

`DELETE /api/agents/{agent_id}`

## Request

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

Archive a thinqOS agent (status='archived', is_active=false). Caller must be an active owner.
Idempotent: re-archiving a currently-archived agent is a no-op success. Shorthand for
agent_update(agent_id, status='archived').

## Path parameters

- `agent_id` string, uuid, required

## Headers

- `x-impersonate-identity-id` string, nullable

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

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