---
title: "Delete Agent Resource"
method: DELETE
path: "/voice/agent-resources/{resourceId}"
tags: ["Voice Agent Intelligence"]
---

# Delete Agent Resource

`DELETE /voice/agent-resources/{resourceId}`

## Request

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

### Delete Agent Resource

Requires the OWNER or ADMIN role. Soft-deletes the resource (isDeleted set true) -- it stops appearing in lists and the agent stops searching it, but the document is not physically removed.

## Path parameters

- `resourceId` string, required

## Response `200`

OK

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

## Other responses

- `403`: Caller's role is not OWNER or ADMIN
- `404`: Resource 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)
