Method: deployments.packages.delete

  • This operation deletes a specified package within a deployment using an HTTP DELETE request.

  • It requires providing the package's relative resource name as a path parameter in the URL.

  • An empty request body is necessary, and a successful deletion results in an empty response body.

  • Authorization is required using 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.