Pipelines

Update configuration

Update the pipelines configuration for a repository.

put/repositories/{workspace}/{repo_slug}/pipelines_config

Request

  • Base URL
    https://api.bitbucket.org/2.0
  • Auth
    • OAuth 2
      Authorization code: https://bitbucket.org/site/oauth2/authorize
      Token URL: https://bitbucket.org/site/oauth2/access_token scopes: repository:admin
    • or HTTP basic
    • or API key in header Authorization

Path parameters

workspacestring required

This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}.

repo_slugstring required

The repository.

Request body

typestring required
enabledboolean

Whether Pipelines is enabled for the repository.

Response

The repository pipelines configuration was updated.

typestring required
enabledboolean

Whether Pipelines is enabled for the repository.

Changes

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