Method: projects.locations.gitLabConfigs.removeGitLabConnectedRepository

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年07月17日 UTC.