---
title: "Delete Call Agent"
api: "DELETE /v1/api/agents/{agentId}"
description: "Delete an existing agent"
---

### Headers  

<ParamField header="x-workspace-id" type="string" required>
  Workspace identifier for the API.
</ParamField>

### Path Parameters

<ParamField path="agentId" type="string" required>
  The unique identifier of the agent to delete
</ParamField>

### Response Fields

<ResponseField name="success" type="string">
  Boolean value indicating if it was a successful operation.
</ResponseField>

<ResponseField name="message" type="string">
  A message confirming the successful deletion of the agent.
</ResponseField>

<ResponseExample>

```json
{
  "success": true,
  "message": "Agent successfully deleted"
}
```

</ResponseExample>
