---
title: "Archive agent"
method: DELETE
path: "/api/v1/agents/{id}"
tags: ["Agents"]
---

# Archive agent

`DELETE /api/v1/agents/{id}`

## Request

- Base URL: `http://dobby-ai.com`
- URL: `http://dobby-ai.com/api/v1/agents/{id}`
- Auth: HTTP bearer

Archive an agent (soft delete)

## Path parameters

- `id` string, required

## Response `200`

Agent archived

- object
  - `success` boolean
  - `message` string
  - `data` object
    - `id` string

## Other responses

- `401`: Unauthorized - Missing or invalid authentication
- `403`: Forbidden - Missing required scope
- `404`: Not Found - Resource does not exist

---

[API](https://skmtc.dev/dobby-ai/apis/dobby-platform-api.md) · [All operations](https://skmtc.dev/dobby-ai/apis/dobby-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dobby-ai/apis/dobby-platform-api/revisions/398634f0306f?raw)
