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

# Get a variable for a team

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

> **Deprecated.**

Retrieve 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 `200`

The variable.

- PipelineVariable — A Pipelines variable.
  - `type` string, required
  - `uuid` string — The UUID identifying the variable.
  - `key` string — The unique name of the variable.
  - `value` string — The value of the variable. If the variable is secured, this will be empty.
  - `secured` boolean — If true, this variable will be treated as secured. The value will never be exposed in the logs or the REST API.

## Other responses

- `404` — The account or variable with the given UUID was not found.

---

[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)
