Method: apprecovery.cancel
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Membatalkan tindakan pemulihan aplikasi yang sudah dijalankan. Perhatikan bahwa tindakan ini mengubah status tindakan pemulihan menjadi DIBATALKAN.
Permintaan HTTP
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:cancel
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
packageName |
string
Wajib. Nama paket aplikasi yang pembatalan tindakan pemulihannya diminta.
|
appRecoveryId |
string (int64 format)
Wajib. ID yang sesuai dengan tindakan pemulihan aplikasi.
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons akan kosong.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/androidpublisher
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 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,["- [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\nHTTP 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\nPath 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\nRequest body\n\nThe request body must be empty.\n\nResponse body\n\nIf successful, the response body is empty.\n\nAuthorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidpublisher`"]]