---
title: "Archive agent configuration"
method: DELETE
path: "/api/v1/w/{wId}/assistant/agent_configurations/{sId}"
tags: ["Agents"]
---

# Archive agent configuration

`DELETE /api/v1/w/{wId}/assistant/agent_configurations/{sId}`

Archive the agent configuration identified by {sId} in the workspace identified by {wId}. The agent is soft-archived and its triggers are disabled.

## Path parameters

- `wId` string, required
- `sId` string, required

## Response `200`

Successfully archived agent configuration

- object
  - `success` boolean

## Other responses

- `400` — Bad Request. Invalid parameters or the agent is already archived.
- `401` — Unauthorized. Invalid or missing authentication token.
- `403` — Forbidden. The caller is not allowed to archive this agent.
- `404` — Agent configuration not found.
- `500` — Internal Server Error.

---

[API](https://skmtc.dev/dust-tt/apis/dust-api-documentation.md) · [All operations](https://skmtc.dev/dust-tt/apis/dust-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dust-tt/dust-api-documentation/revisions/aa52b0aedce0/schema)
