Try the MCP server for Google Analytics. Install from
GitHub, and see the
announcement for more details.
Method: properties.accessBindings.delete
Stay organized with collections
Save and categorize content based on your preferences.
Deletes an access binding on an account or property.
HTTP request
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/accessBindings/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
Required. Formats: - accounts/{account}/accessBindings/{accessBinding} - properties/{property}/accessBindings/{accessBinding}
|
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/analytics.manage.users
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-14 UTC.
[null,null,["Last updated 2025-01-14 UTC."],[[["\u003cp\u003eDeletes an access binding, removing user or service account access to a Google Analytics 4 property or account.\u003c/p\u003e\n"],["\u003cp\u003eRequires specifying the access binding's resource name using the format: \u003ccode\u003eaccounts/{account}/accessBindings/{accessBinding}\u003c/code\u003e or \u003ccode\u003eproperties/{property}/accessBindings/{accessBinding}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eUses a DELETE request with an empty body and requires \u003ccode\u003eanalytics.manage.users\u003c/code\u003e authorization scope.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful deletion, the API returns an empty response body, indicating completion.\u003c/p\u003e\n"]]],["This document outlines how to delete an access binding. The key action is sending a `DELETE` HTTP request to a specified URL, following gRPC Transcoding syntax. The URL contains a required path parameter, `name`, specifying the target access binding using either an account or property format. The request body must be empty. A successful deletion is confirmed by an empty JSON object in the response body. Authorization requires the `analytics.manage.users` OAuth scope.\n"],null,["# Method: properties.accessBindings.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDeletes an access binding on an account or property.\n\n### HTTP request\n\n`DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/accessBindings/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|----------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. Formats: - accounts/{account}/accessBindings/{accessBinding} - properties/{property}/accessBindings/{accessBinding} |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is an empty JSON object.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/analytics.manage.users`"]]