analyticsadmin.properties.customDimensions.archive
Archives a custom dimension on a Google Analytics property, marking it inactive without deleting its historical data. Use it to retire a dimension you no longer collect or report on.
Instructions
Archives a CustomDimension on a property [HTTP POST] — creates or triggers a change; refused under --readonly safety profiles. Returns the API's response resource as JSON — request body is a JSON GoogleAnalyticsAdminV1betaArchiveCustomDimensionRequest object; pass it via params or whole via body_file Siblings over the same resource: create, get, list, patch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | [URL path segment] Required. The name of the CustomDimension to archive. Example format: properties/1234/customDimensions/5678 | |
| query | No | Extra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe. | |
| params | No | Parameter map merged into the request; typed parameters win. | |
| dry_run | No | Return the request that would be sent, without sending it. | |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. The body is a JSON GoogleAnalyticsAdminV1betaArchiveCustomDimensionRequest object. | |
| request_body | No | Request body of type GoogleAnalyticsAdminV1betaArchiveCustomDimensionRequest: pass it via `params` (merged into the built body) or whole via `body_file`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||