Method: projects.locations.gitLabConfigs.removeGitLabConnectedRepository

Stay organized with collections Save and categorize content based on your preferences.

Remove a GitLab repository from a given GitLabConfig's connected repositories.

This API is experimental.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
config

string

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

Request body

The request body contains data with the following structure:

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

object (GitLabRepositoryId)

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.