Method: projects.locations.privateOffers.delete

Deletes the target PrivateOffer.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Name of the resource

Query parameters

Parameters
force

boolean

Optional. Indicates whether to cascade the delete to child resources. If false, the request fails if child resources exist.

Request body

The request body must be empty.

Response body

If successful, the response body is an empty JSON object.

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:

  • commerceproducer.privateOffers.delete

For more information, see the IAM documentation.