Method: properties.dataStreams.delete
Usuwa strumień danych w usłudze.
Żądanie HTTP
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/dataStreams/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagane. Nazwa strumienia danych do usunięcia. Przykładowy format: properties/1234/dataStreams/5678
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi to pusty obiekt JSON.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/analytics.edit
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-01-14 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]