Shape the future of software delivery and make your voice heard by taking the 2021 State of DevOps survey.

Method: projects.triggers.delete

Deletes a BuildTrigger by its project ID and trigger ID.

This API is experimental.

HTTP request

DELETE https://cloudbuild.googleapis.com/v1/projects/{projectId}/triggers/{triggerId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
projectId

string

Required. ID of the project that owns the trigger.

triggerId

string

Required. ID of the BuildTrigger to delete.

Query parameters

Parameters
name

string

The name of the Trigger to delete. Format: projects/{project}/locations/{location}/triggers/{trigger}

Request body

The request body must be empty.

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.