# Google Analytics 4 Accounts API

**Canonical:** https://apis.io/apis/google-analytics-4/google-analytics-4-accounts-api/  
**Provider:** Google Analytics 4 — https://apis.io/providers/google-analytics-4/  
**Base URL:** https://www.google-analytics.com/mp/collect  
**Documentation:** https://developers.google.com/analytics/devguides/collection/protocol/ga4

Google Analytics 4 Accounts API is one of 4 APIs that [Google Analytics 4](https://apis.io/providers/google-analytics-4/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Account. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, authentication docs, a getting-started guide, and rate-limit docs.

The accounts API from Google Analytics 4 — 18 operation(s) for accounts.

## Operations (25)

| Method | Path | Summary |
|---|---|---|
| DELETE | `/v1alpha/accounts/{accountsId}` | Marks target Account as soft-deleted (ie: "trashed") and returns it |
| GET | `/v1alpha/accounts/{accountsId}` | Lookup for a single Account |
| PATCH | `/v1alpha/accounts/{accountsId}` | Updates an account |
| GET | `/v1alpha/accounts/{accountsId}/dataSharingSettings` | Get data sharing settings on an account |
| GET | `/v1alpha/accounts` | Returns all accounts accessible by the caller |
| POST | `/v1alpha/accounts:provisionAccountTicket` | Requests a ticket for creating an account |
| POST | `/v1alpha/accounts/{accountsId}:runAccessReport` | Returns a customized report of data access records |
| POST | `/v1alpha/accounts/{accountsId}:searchChangeHistoryEvents` | Searches through all changes to an account or its children given the specified set of filters |
| POST | `/v1alpha/accounts/{accountsId}/accessBindings:batchCreate` | Creates information about multiple access bindings to an account or property |
| POST | `/v1alpha/accounts/{accountsId}/accessBindings:batchDelete` | Deletes information about multiple users' links to an account or property |
| GET | `/v1alpha/accounts/{accountsId}/accessBindings:batchGet` | Gets information about multiple access bindings to an account or property |
| POST | `/v1alpha/accounts/{accountsId}/accessBindings:batchUpdate` | Updates information about multiple access bindings to an account or property |
| POST | `/v1alpha/accounts/{accountsId}/accessBindings` | Creates an access binding on an account or property |
| GET | `/v1alpha/accounts/{accountsId}/accessBindings` | Lists all access bindings on an account or property |
| DELETE | `/v1alpha/accounts/{accountsId}/accessBindings/{accessBindingsId}` | Deletes an access binding on an account or property |
| GET | `/v1alpha/accounts/{accountsId}/accessBindings/{accessBindingsId}` | Gets information about an access binding |
| PATCH | `/v1alpha/accounts/{accountsId}/accessBindings/{accessBindingsId}` | Updates an access binding on an account or property |
| DELETE | `/v1beta/accounts/{accountsId}` | Marks target Account as soft-deleted (ie: "trashed") and returns it |
| GET | `/v1beta/accounts/{accountsId}` | Lookup for a single Account |
| PATCH | `/v1beta/accounts/{accountsId}` | Updates an account |
| GET | `/v1beta/accounts/{accountsId}/dataSharingSettings` | Get data sharing settings on an account |
| GET | `/v1beta/accounts` | Returns all accounts accessible by the caller |
| POST | `/v1beta/accounts:provisionAccountTicket` | Requests a ticket for creating an account |
| POST | `/v1beta/accounts/{accountsId}:runAccessReport` | Returns a customized report of data access records |
| POST | `/v1beta/accounts/{accountsId}:searchChangeHistoryEvents` | Searches through all changes to an account or its children given the specified set of filters |

## Machine-readable artifacts (17)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/google-analytics-4/refs/heads/main/openapi/google-analytics-4-accounts-api-openapi.yml
- **Protobuf** — https://raw.githubusercontent.com/api-evangelist/google-analytics-4/refs/heads/main/grpc/google-analytics-4-data-v1beta-analytics_data_api.proto
- **Documentation** — https://developers.google.com/analytics/devguides/reporting/data/v1
- **APIReference** — https://developers.google.com/analytics/devguides/reporting/data/v1/rest
- **Authentication** — https://developers.google.com/analytics/devguides/reporting/data/v1/basics#authentication
- **GettingStarted** — https://developers.google.com/analytics/devguides/reporting/data/v1/quickstart-client-libraries
- **RateLimits** — https://developers.google.com/analytics/devguides/reporting/data/v1/quotas
- **ChangeLog** — https://developers.google.com/analytics/devguides/reporting/data/v1/changelog
- **ErrorCatalog** — https://developers.google.com/analytics/devguides/reporting/data/v1/errors
- **Webhooks** — https://raw.githubusercontent.com/api-evangelist/google-analytics-4/refs/heads/main/asyncapi/google-analytics-4-webhooks.yml
- **Protobuf** — https://raw.githubusercontent.com/api-evangelist/google-analytics-4/refs/heads/main/grpc/google-analytics-4-admin-v1beta-analytics_admin.proto
- **Documentation** — https://developers.google.com/analytics/devguides/config/admin/v1
- **APIReference** — https://developers.google.com/analytics/devguides/config/admin/v1/rest
- **Authentication** — https://developers.google.com/analytics/devguides/config/admin/v1/rest
- **GettingStarted** — https://developers.google.com/analytics/devguides/config/admin/v1/quickstart-client-libraries
- **RateLimits** — https://developers.google.com/analytics/devguides/config/admin/v1/quotas
- **ChangeLog** — https://developers.google.com/analytics/devguides/config/admin/v1/changelog

## Other Google Analytics 4 APIs (3)

- [Google Analytics Measurement Protocol](https://apis.io/apis/google-analytics-4/google-analytics-measurement-protocol/)
- [Google Analytics 4 Account Summaries API](https://apis.io/apis/google-analytics-4/google-analytics-4-accountsummaries-api/)
- [Google Analytics 4 Properties API](https://apis.io/apis/google-analytics-4/google-analytics-4-properties-api/)

## Tags

Account

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/google-analytics-4/google-analytics-4-accounts-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/google-analytics-4/.
