Method: apprecovery.cancel
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Eine bereits ausgeführte App-Wiederherstellung abbrechen. Hinweis: Durch diese Aktion ändert sich der Status der Wiederherstellungsaktion in „ABGEBROCHEN“.
HTTP-Anfrage
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:cancel
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
packageName |
string
Erforderlich. Paketname der App, für die die Stornierung der Wiederherstellungsanfrage erfolgt.
|
appRecoveryId |
string (int64 format)
Erforderlich. ID, die der Aktion zur Wiederherstellung der App entspricht.
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich ist, ist der Antworttext leer.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/androidpublisher
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 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`"]]