Method: projects.locations.repositories.branchRules.delete

branchRules.delete deletes a branch rule.

HTTP request

DELETE https://securesourcemanager.googleapis.com/v1/{name=projects/*/locations/*/repositories/*/branchRules/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Query parameters

Parameters
allowMissing

boolean

Optional. If set to true, and the branch rule is not found, the request will succeed but no action will be taken on the server.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Operation.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • securesourcemanager.branchRules.delete

For more information, see the IAM documentation.