---
title: "Delete a variable for a user"
method: DELETE
path: "/users/{selected_user}/pipelines_config/variables/{variable_uuid}"
tags: ["Pipelines"]
deprecated: true
---

# Delete a variable for a user

`DELETE /users/{selected_user}/pipelines_config/variables/{variable_uuid}`

> **Deprecated.**

Delete an account 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

- `selected_user` 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.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)
