VCS Integrations

CreateBitBucketSetup

Creates a new BitBucket integration for an organization. Requires a BitBucket workspace UUID and optionally configures authentication via the user's BitBucket OAuth token or a workspace access token / PAT. Returns 409 if an integration already exists for the specified workspace.

post/api/console/orgs/{orgName}/integrations/bitbucket

Request

  • Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pulumi.com/api/console/orgs/{orgName}/integrations/bitbucket
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

Request body

useUserAuthboolean

If true, use the current user's BitBucket OAuth token for authentication instead of a workspace access token.

workspaceAccessTokenstring

Optional workspace access token or personal access token (PAT) for authenticating with the BitBucket API. Required if useUserAuth is false.

workspaceSlugstring required

The slug (URL-friendly name) of the BitBucket workspace.

workspaceUuidstring required

The UUID of the BitBucket workspace to integrate.

Response

Created successfully

Changes

No recorded changes to this operation across all 1 revision of this API.