Method: projects.locations.triggers.delete

Delete a single trigger.

HTTP request

DELETE https://eventarc.googleapis.com/v1/{name=projects/*/locations/*/triggers/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the trigger to be deleted.

Authorization requires the following IAM permission on the specified resource name:

  • eventarc.triggers.delete

Query parameters

Parameters
etag

string

If provided, the trigger will only be deleted if the etag matches the current etag on the resource.

allowMissing

boolean

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

validateOnly

boolean

Required. If set, validate the request and preview the review, but do not actually post it.

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.