Method: edits.images.delete
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Consente di eliminare l'immagine (specificata dall'ID) dalla modifica.
Richiesta HTTP
DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
packageName |
string
Nome del pacchetto dell'app.
|
editId |
string
Identificatore della modifica.
|
language |
string
Codice di localizzazione della lingua (un tag lingua BCP-47; ad esempio, "de-AT" per il tedesco austriaco).
|
imageType |
enum (AppImageType )
Tipo di immagine.
|
imageId |
string
Identificatore univoco di un'immagine all'interno dell'insieme di immagini allegate a questa modifica.
|
Corpo della richiesta
Il corpo della richiesta deve essere vuoto.
Corpo della risposta
In caso di esito positivo, il corpo della risposta è un oggetto JSON 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\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`"]]