---
title: "Delete Variable By Name"
method: DELETE
path: "/api/variables/name/{name}"
tags: ["Variables"]
---

# Delete Variable By Name

`DELETE /api/variables/name/{name}`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `name` string, required

## Headers

- `x-prefect-api-version` string

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/prefecthq/apis/prefect-unreleased-api.md) - [All operations](https://skmtc.dev/prefecthq/apis/prefect-unreleased-api/llms.txt) - [OpenAPI document](https://skmtc.dev/prefecthq/apis/prefect-unreleased-api/revisions/29ba6c4f8837?raw)
