Pipelines

Delete a variable for a team

Delete a team level variable. This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see the announcement.

delete/teams/{username}/pipelines_config/variables/{variable_uuid}

Request

  • Base URL
    https://api.bitbucket.org/2.0
  • URL
    https://api.bitbucket.org/2.0/teams/{username}/pipelines_config/variables/{variable_uuid}
  • Auth
    • OAuth 2
      Authorization code: https://bitbucket.org/site/oauth2/authorize
      Token URL: https://bitbucket.org/site/oauth2/access_token scopes: pipeline:variable
    • or HTTP basic
    • or API key in header Authorization

Path parameters

usernamestring required

The account.

variable_uuidstring required

The UUID of the variable to delete.

Response

The variable was deleted

Changes

No recorded changes to this operation across all 15 revisions of this API.