Google Analytics icon

Google Analytics

Use the Google Analytics API

Actions236

Admin (V1Alpha) - Property Access Binding → Delete Property Access Binding

AI-generated

Overview

This node interacts with the Google Analytics API, specifically supporting a wide range of administrative and data management operations across different Google Analytics resources. The "Delete Property Access Binding" operation under the "Admin (V1Alpha) - Property Access Binding" resource allows users to delete an access binding for a user within a specific property. This is useful for managing user permissions and revoking access when necessary.

Typical use cases include:

  • Removing a user's access to a Google Analytics property.
  • Managing property-level user permissions programmatically.
  • Automating cleanup of access bindings in bulk or as part of user lifecycle management.

Example: If you want to revoke a collaborator's access to a particular Google Analytics property, you can use this operation by specifying the property ID and the access binding ID corresponding to that user.

Properties

Name Meaning
Property ID The unique identifier of the Google Analytics property where the access binding exists.
Access Binding ID The unique identifier of the access binding to be deleted (i.e., the user access entry).
Query Parameters Optional parameters to customize the request; includes filters, pagination, and others.

The Query Parameters collection supports these options (not all relevant for delete but available generally):

  • Calculated Metric ID
  • Entity (property or account level)
  • Filter expression
  • Names of access bindings
  • Page Size (number of results)
  • Page Token (for pagination)
  • Show Deleted (include soft-deleted properties)
  • Universal Analytics Property ID
  • Update Mask (fields to update)

Output

The output is a JSON array containing the response from the Google Analytics API after attempting to delete the specified property access binding. For a successful deletion, the API typically returns an empty object {} or confirmation of deletion.

No binary data is output by this node.

Dependencies

  • Requires an OAuth2 API credential configured for Google Analytics API access.
  • The node uses the Google Analytics Admin API v1alpha endpoint (https://analyticsadmin.googleapis.com/v1alpha).
  • Proper permissions on the Google Analytics account are required to delete access bindings.

Troubleshooting

  • Missing Credentials Error: If the node throws "Missing Google Analytics API Credentials," ensure that a valid OAuth2 credential for Google Analytics is configured and selected.
  • Required Parameter Missing: Errors like "Property ID is required" or "Access Binding ID is required" indicate missing mandatory inputs. Provide these IDs to proceed.
  • API Permission Denied: If the API returns permission errors, verify that the authenticated user has sufficient rights to modify access bindings on the specified property.
  • Invalid Access Binding ID: If the access binding ID does not exist or is incorrect, the API will fail to delete it. Double-check the ID.
  • Network or API Errors: General API call failures may occur due to network issues or API limits. Review error messages and retry if needed.

Links and References


This summary focuses on the "Delete Property Access Binding" operation within the "Admin (V1Alpha) - Property Access Binding" resource, describing its purpose, inputs, outputs, dependencies, and common troubleshooting points based on static analysis of the provided source code and property definitions.

Discussion