Method: monetization.onetimeproducts.delete

  • This API call allows you to delete a specific one-time product associated with an Android package name using a DELETE HTTP request.

  • The request requires both the packageName and productId as path parameters to identify the one-time product to be deleted.

  • An optional latencyTolerance query parameter can be included to control the update propagation latency, defaulting to latency-sensitive.

  • The request body must be empty, and a successful response will also have an empty body.

  • Authorization requires the https://www.googleapis.com/auth/androidpublisher OAuth scope.

Deletes a one-time product.

HTTP request

DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
packageName

string

Required. The parent app (package name) of the one-time product to delete.

productId

string

Required. The one-time product ID of the one-time product to delete.

Query parameters

Parameters
latencyTolerance

enum (ProductUpdateLatencyTolerance)

Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.

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/androidpublisher