Method: properties.dataStreams.delete
Löscht einen Datenstream in einer Property.
HTTP-Anfrage
DELETE https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/dataStreams/*}
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
name |
string
Erforderlich. Der Name des zu löschenden DataStreams. Beispielformat: properties/1234/dataStreams/5678
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, ist der Antworttext ein leeres JSON-Objekt.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/analytics.edit
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-01-14 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-01-14 (UTC)."],[[["Deletes a specified DataStream associated with a Google Analytics 4 property."],["Requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization."],["Uses an HTTP DELETE request with the DataStream name in the URL path."],["The request body should be empty, and a successful deletion returns an empty response body."]]],["The core content describes deleting a DataStream within a property using a `DELETE` HTTP request to a specific URL, formatted with gRPC Transcoding. The `name` path parameter, a string specifying the DataStream's location (e.g., `properties/1234/dataStreams/5678`), is mandatory. The request body must be empty. A successful deletion results in an empty JSON response. This operation requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization.\n"]]