Pipelines
Create a variable for a user
Create an account level variable. This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see the announcement.
post/teams/{username}/pipelines_config/variables
Request
- Base URLhttps://api.bitbucket.org/2.0
- URLhttps://api.bitbucket.org/2.0/teams/{username}/pipelines_config/variables
- Auth
- OAuth 2Authorization code: https://bitbucket.org/site/oauth2/authorizeToken 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.
Request body
Response
The created variable.
Changes
No recorded changes to this operation across all 15 revisions of this API.