# Remove voice tool reference

Removes a voice tool reference from the current tenant

Source: https://zild.ai/en-US/docs/api-reference/delete-api-Agent-voice-tools-toolId

DELETE `/Agent/voice-tools/{toolId}`

Removes a voice tool reference from the current tenant

## Authentication

**Authentication required.** Send your user API key in the X-API-Key header.

## Parameters



<table class="api-params"><thead><tr><th>Name</th><th>Location</th><th>Type</th><th>Required</th><th>Description</th><th>Constraints</th></tr></thead><tbody><tr><td><code>toolId</code></td><td><code>path</code></td><td><code>string</code></td><td>Yes</td><td>—</td><td>—</td></tr><tr><td><code>agentId</code></td><td><code>query</code></td><td><code>integer · int32</code></td><td>No</td><td>—</td><td>default: 0</td></tr></tbody></table>



## Request body

This operation does not accept a request body.

## Example request



```
curl --request DELETE \
  --url 'https://api.zild.ai/Agent/voice-tools/{toolId}?agentId={agentId}' \
  --header 'X-API-Key: YOUR_USER_API_KEY'
```



## Responses



<table class="api-params"><thead><tr><th>Status</th><th>Description</th><th>Response body</th></tr></thead><tbody><tr><td><code>204</code></td><td>Successfully removed voice tool reference</td><td>No response body is defined.</td></tr></tbody></table>
