Method: apprecovery.cancel
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Annullare un'azione di recupero dell'app già in esecuzione. Tieni presente che questa azione modifica lo stato dell'azione di recupero in ANNULLATO.
Richiesta HTTP
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:cancel
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
packageName |
string
Obbligatorio. Nome del pacchetto dell'app per cui è richiesta l'annullamento dell'azione di recupero.
|
appRecoveryId |
string (int64 format)
Obbligatorio. ID corrispondente all'azione di recupero dell'app.
|
Corpo della richiesta
Il corpo della richiesta deve essere vuoto.
Corpo della risposta
In caso di esito positivo, il corpo della risposta è vuoto.
Ambiti di autorizzazione
Richiede il seguente ambito OAuth:
https://www.googleapis.com/auth/androidpublisher
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-26 UTC.
[null,null,["Ultimo aggiornamento 2025-07-26 UTC."],[[["\u003cp\u003eCancels an already executing app recovery action, changing its status to CANCELED.\u003c/p\u003e\n"],["\u003cp\u003eRequires the package name and the app recovery ID.\u003c/p\u003e\n"],["\u003cp\u003eUses an HTTP POST request with an empty body.\u003c/p\u003e\n"],["\u003cp\u003eA successful operation returns an empty response body.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidpublisher\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This document outlines the process for canceling an app recovery action via an HTTP POST request. The core action is sending a `POST` request to a specified URL, including the app's package name and the recovery action's ID as path parameters. The request body must be empty. Successful cancellation results in an empty response body and changes the action status to \"CANCELED\". Authorization requires the `androidpublisher` OAuth scope. The url follows gRPC transcoding syntax.\n"],null,["# Method: apprecovery.cancel\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nCancel an already executing app recovery action. Note that this action changes status of the recovery action to CANCELED.\n\n### HTTP request\n\n`POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:cancel`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------|\n| `packageName` | `string` Required. Package name of the app for which recovery action cancellation is requested. |\n| `appRecoveryId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. ID corresponding to the app recovery action. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is empty.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidpublisher`"]]