Method: deployments.packages.delete

  • This document details how to delete a package using an HTTP DELETE request.

  • The request requires a name path parameter specifying the relative resource name of the package.

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

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

Deletes a package. Returns NOT_FOUND if the matching path does not exist.

HTTP request

DELETE https://androidovertheair.googleapis.com/v1/{name=deployments/*/packages/**}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Relative resource name. For example: "deployments/deployment_x/packages/package_a"

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

For more information, see the OAuth 2.0 Overview.