---
title: "Delete a project variable"
method: DELETE
path: "/v1/projects/{projectId}/variables/{variableName}"
tags: ["Project Variables"]
---

# Delete a project variable

`DELETE /v1/projects/{projectId}/variables/{variableName}`

Delete a project variable by name

## Path parameters

- `projectId` string, uuid, required
- `variableName` string, required

## Response `204`

Project variable has been deleted

## Other responses

- `400` — Wrong request parameters used
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Project or variable not found
- `500` — Unexpected error occurred
- `504` — Gateway timeout

---

[API](https://skmtc.net/maia/apis/maia-public-rest-api.md) · [All operations](https://skmtc.net/maia/apis/maia-public-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/maia/maia-public-rest-api/revisions/6239825f68eb/schema)
