AI-generated Key Takeaways
-
Archives an Audience on a specified Google Analytics 4 property.
-
Requires an empty request body and returns an empty response body upon successful completion.
-
Utilizes the
POST
method with the URL format:https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/audiences/*}:archive
, where{name}
represents the property and audience IDs. -
Needs the
https://www.googleapis.com/auth/analytics.edit
OAuth scope for authorization.
Archives an Audience on a property.
HTTP request
POST https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/audiences/*}:archive
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. Example format: properties/1234/audiences/5678 |
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.edit