---
title: "Delete Voice Agent"
method: DELETE
path: "/voice/agents/{agentId}"
tags: ["Voice Agents"]
---

# Delete Voice Agent

`DELETE /voice/agents/{agentId}`

## Request

- Base URL: `https://api.speakai.co/v1`
- URL: `https://api.speakai.co/v1/voice/agents/{agentId}`
- Auth: API key in header `x-speakai-key` and API key in header `x-access-token`

### Delete Agent

Requires the OWNER or ADMIN role. Soft-deletes: the agent is flagged `isDeleted` and stops appearing in list/get, but the record and its conversation history are retained.

## Path parameters

- `agentId` string, required

## Response `200`

OK

- object
  - `status` 'success'
  - `message` string

## Other responses

- `403`: Caller's role is not OWNER or ADMIN
- `404`: Agent not found

---

[API](https://skmtc.dev/speakai/apis/speak-ai-api.md) · [All operations](https://skmtc.dev/speakai/apis/speak-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/speakai/apis/speak-ai-api/revisions/52d777e6d46e?raw)
