---
title: "Delete an agent config"
method: DELETE
path: "/agents/{agentId}"
tags: ["agents"]
---

# Delete an agent config

`DELETE /agents/{agentId}`

## Request

- Base URL: `https://api.letsship.ai/v1`
- URL: `https://api.letsship.ai/v1/agents/{agentId}`
- Auth: none declared

## Path parameters

- `agentId` string, required

## Response `200`

Deleted

- DeleteAgentResponse
  - `ok` boolean, required
  - `id` string, required

## Other responses

- `403`: Role insufficient
- `404`: Not found

---

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