---
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

## Changes

- **2026-08-15** `76f89c68dacf` — 2 info
  - api tag `variables` added
  - api tag `voiceAgent > variables` removed
- **2026-08-12** `c761ed1f371e` — 2 info
  - api tag `voiceAgent > variables` added
  - api tag `variables` removed
- **2026-08-06** `bd7ba5c18a6b` — 2 info
  - api tag `variables` added
  - api tag `voiceAgent > variables` removed

[Change history](https://skmtc.dev/deepgram/apis/rest-api/changes/v1/projects/:project_id/agent-variables/:variable_id/delete.md)

---

[API](https://skmtc.dev/deepgram/apis/rest-api.md) · [All operations](https://skmtc.dev/deepgram/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/deepgram/rest-api/revisions/76f89c68dacf/schema)
