Method: properties.dataStreams.measurementProtocolSecrets.delete
Borra el MeasurementProtocolSecret de destino.
Solicitud HTTP
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}
La URL usa la sintaxis de la transcodificación gRPC.
Parámetros de ruta de acceso
Parámetros |
name |
string
Obligatorio. Es el nombre del MeasurementProtocolSecret que se borrará. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
|
Cuerpo de la solicitud
El cuerpo de la solicitud debe estar vacío.
Cuerpo de la respuesta
Si se ejecuta correctamente, el cuerpo de la respuesta es un objeto JSON vacío.
Permisos de autorización
Requiere el siguiente alcance de OAuth:
https://www.googleapis.com/auth/analytics.edit
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-01-14 (UTC)
[null,null,["Última actualización: 2025-01-14 (UTC)"],[[["Deletes the specified Measurement Protocol Secret, requiring an empty request body."],["Uses the HTTP DELETE method with a URL containing the resource name of the Measurement Protocol Secret."],["Needs authorization with the `https://www.googleapis.com/auth/analytics.edit` scope."],["Upon successful deletion, an empty response body is returned."]]],["This document details the process of deleting a MeasurementProtocolSecret via an HTTP DELETE request. The target is specified through the `name` path parameter, following the format: `properties/*/dataStreams/*/measurementProtocolSecrets/*`. The request body must be empty. A successful deletion returns an empty JSON object. The request requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization. The document also indicates the utilization of gRPC Transcoding syntax within the request URL.\n"]]