Search + K

Command Palette

Search for a command to run...

Sign In

analyticsadmin.properties.customMetrics.archive

POST /v1beta/{+name}:archive
Copy endpoint
https://analyticsadmin.googleapis.com/

Archives a CustomMetric on a property.

Parameters

path Path Parameters

Name Type
name required

Required. The name of the CustomMetric to archive. Example format: properties/1234/customMetrics/5678

string

query Query Parameters

Name Type
oauth_token

OAuth 2.0 token for the current user.

string
callback

JSONP

string
fields

Selector specifying which fields to include in a partial response.

string
upload_protocol

Upload protocol for media (e.g. "raw", "multipart").

string
alt

Data format for response.

"json" | "media" | "proto"
access_token

OAuth access token.

string
key

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

string
uploadType

Legacy upload protocol for media (e.g. "media", "multipart").

string
$.xgafv

V1 error format.

"1" | "2"
quotaUser

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

string
prettyPrint

Returns response with indentations and line breaks.

boolean

Request Body

application/json
interface GoogleAnalyticsAdminV1betaArchiveCustomMetricRequest {}

Responses

200 */*

Successful response

interface GoogleProtobufEmpty {}