Method: edits.images.delete
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Xoá hình ảnh (được chỉ định bằng mã nhận dạng) khỏi nội dung chỉnh sửa.
Yêu cầu HTTP
DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Thông số |
packageName |
string
Tên gói của ứng dụng.
|
editId |
string
Giá trị nhận dạng của nội dung chỉnh sửa.
|
language |
string
Mã bản địa hoá ngôn ngữ (thẻ ngôn ngữ BCP-47; ví dụ: "de-AT" cho tiếng Đức ở Áo).
|
imageType |
enum (AppImageType )
Loại hình ảnh.
|
imageId |
string
Giá trị nhận dạng duy nhất của một hình ảnh trong bộ hình ảnh đính kèm với nội dung chỉnh sửa này.
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ là một đối tượng JSON trống.
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/androidpublisher
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\u003cp\u003eDeletes an image from a specific edit of an Android app in the Google Play Store.\u003c/p\u003e\n"],["\u003cp\u003eRequires providing the package name, edit ID, language, image type and image ID in the request URL.\u003c/p\u003e\n"],["\u003cp\u003eUses an HTTP DELETE request with an empty body.\u003c/p\u003e\n"],["\u003cp\u003eA successful deletion results in 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 details the process for deleting an image from an app's edit listing. The action is performed via a `DELETE` HTTP request to a specific URL, including the app's package name, edit ID, language, image type, and image ID as path parameters. The request body must be empty. A successful deletion returns an empty JSON object. This process requires `https://www.googleapis.com/auth/androidpublisher` authorization scope.\n"],null,["# Method: edits.images.delete\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\nDeletes the image (specified by id) from the edit.\n\n### HTTP request\n\n`DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|---------------|--------------------------------------------------------------------------------------------------------|\n| `packageName` | `string` Package name of the app. |\n| `editId` | `string` Identifier of the edit. |\n| `language` | `string` Language localization code (a BCP-47 language tag; for example, \"de-AT\" for Austrian German). |\n| `imageType` | `enum (`[AppImageType](/android-publisher/api-ref/rest/v3/AppImageType)`)` Type of the Image. |\n| `imageId` | `string` Unique identifier an image within the set of images attached to this edit. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is an empty JSON object.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidpublisher`"]]