---
title: "Delete a variable for a team"
method: DELETE
path: "/teams/{username}/pipelines_config/variables/{variable_uuid}"
tags: ["Pipelines"]
deprecated: true
---

# Delete a variable for a team

`DELETE /teams/{username}/pipelines_config/variables/{variable_uuid}`

> **Deprecated.**

Delete a team level variable.
This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).

## Path parameters

- `username` string, required
- `variable_uuid` string, required

## Response `204`

The variable was deleted

## Other responses

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

---

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