---
title: "Delete a variable for a workspace"
method: DELETE
path: "/workspaces/{workspace}/pipelines-config/variables/{variable_uuid}"
tags: ["Pipelines"]
---

# Delete a variable for a workspace

`DELETE /workspaces/{workspace}/pipelines-config/variables/{variable_uuid}`

Delete a workspace level variable.

## Path parameters

- `workspace` string, required
- `variable_uuid` string, required

## Response `204`

The variable was deleted

## Other responses

- `404` — The workspace or the variable with the provided UUID does not exist.

---

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