Method: properties.dataStreams.delete
Consente di eliminare uno stream di dati in una proprietà.
Richiesta HTTP
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/dataStreams/*}
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
name |
string
Obbligatorio. Il nome dello stream di dati da eliminare. Formato di esempio: properties/1234/dataStreams/5678
|
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/analytics.edit
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-01-14 UTC.
[null,null,["Ultimo aggiornamento 2025-01-14 UTC."],[[["Deletes a specified DataStream associated with a Google Analytics 4 property."],["Requires providing the DataStream name in the URL path using the format: `properties/{property_id}/dataStreams/{stream_id}`."],["Uses an HTTP DELETE request with an empty body and returns an empty response upon successful deletion."],["Needs authorization with the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["This document details the process of deleting a DataStream using a DELETE HTTP request. The request is sent to a specific URL, structured with gRPC Transcoding syntax, requiring a `name` path parameter that identifies the DataStream (e.g., `properties/1234/dataStreams/5678`). The request body must be empty. A successful deletion returns an empty JSON object in the response body. The process requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization.\n"]]