Method: projects.locations.bitbucketServerConfigs.removeBitbucketServerConnectedRepository

Remove a Bitbucket Server repository from a given BitbucketServerConfig's connected repositories.

This API is experimental.

HTTP request

POST https://cloudbuild.googleapis.com/v1/{config=projects/*/locations/*/bitbucketServerConfigs/*}:removeBitbucketServerConnectedRepository

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
config

string

Required. The name of the BitbucketServerConfig to remove a connected repository. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{config}

Request body

The request body contains data with the following structure:

JSON representation
{
  "connectedRepository": {
    object (BitbucketServerRepositoryId)
  }
}
Fields
connectedRepository

object (BitbucketServerRepositoryId)

The connected repository to remove.

Response body

If successful, the response body is empty.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.