Method: projects.locations.consumerEnforcementActions.delete

Deletes a ConsumerEnforcementAction resource.

HTTP request

DELETE https://commerceproducer.googleapis.com/v1beta/{name=projects/*/locations/*/consumerEnforcementActions/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Name of the ConsumerEnforcementAction resource to delete. Format: projects/{project}/locations/{location}/consumerEnforcementActions/{consumerEnforcementAction}

Query parameters

Parameters
etag

string

Optional. The current etag of the resource. If an etag is provided and does not match the current etag, deletion will be blocked and an ABORTED error will be returned.

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.