---
title: "Delete an Agent Variable"
method: DELETE
path: "/v1/projects/{project_id}/agent-variables/{variable_id}"
tags: ["variables"]
---

# Delete an Agent Variable

`DELETE /v1/projects/{project_id}/agent-variables/{variable_id}`

Deletes the specified template variable

## Path parameters

- `project_id` string, required
- `variable_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

Agent variable deleted

- DeleteAgentVariableV1Response — Confirmation that the agent variable was deleted

## Other responses

- `400` — Invalid Request

---

[API](https://skmtc.net/deepgram/apis/rest-api.md) · [All operations](https://skmtc.net/deepgram/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deepgram/rest-api/versions/bd7ba5c18a6b/schema)
