Method: properties.dataStreams.measurementProtocolSecrets.delete
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
This page details how to delete a target MeasurementProtocolSecret using an HTTP DELETE request.
The DELETE request requires a name parameter specifying the MeasurementProtocolSecret to be deleted.
The request body for this DELETE operation must be empty.
A successful response will have an empty JSON object in the response body.
Authorization for this action requires the https://www.googleapis.com/auth/analytics.edit OAuth scope.
Required. The name of the MeasurementProtocolSecret to delete. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-14 UTC."],[],["This document details how to delete a MeasurementProtocolSecret using a `DELETE` HTTP request. The request URL targets a specific secret via a `name` path parameter, following a defined format. The request body must be empty. A successful deletion returns an empty JSON object. This action requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization. The provided documentation includes information on path parameters, request and response body format, and authorization scope requirements, and a Try-it section.\n"]]