Method: grants.delete

  • Removes a user's access to a specific package or developer account.

  • Uses an HTTP DELETE request with the grant's name specified in the URL path.

  • Requires an empty request body and returns an empty response body upon success.

  • Needs authorization with the https://www.googleapis.com/auth/androidpublisher scope.

Removes all access for the user to the given package or developer account.

HTTP request

DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/{name=developers/*/users/*/grants/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the grant to delete. Format: developers/{developer}/users/{email}/grants/{packageName}

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