analytics.management.custom Dimensions.update

PUT {{baseUrl}}/management/accounts/:accountId/webproperties/:webPropertyId/customDimensions/:customDimensionId?ignoreCustomDataSourceLinks=<boolean>&alt=<string>&fields=<string>&key=<string>&oauth_token=<string>&prettyPrint=<boolean>&quotaUser=<string>&userIp=<string>

Updates an existing custom dimension.

Request Params

KeyDatatypeRequiredDescription
ignoreCustomDataSourceLinksstringForce the update and ignore any warnings related to the custom dimension being linked to a custom data source / data set.
altstringData format for the response.
fieldsstringSelector specifying which fields to include in a partial response.
keystringAPI 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.
oauth_tokenstringOAuth 2.0 token for the current user.
prettyPrintstringReturns response with indentations and line breaks.
quotaUserstringAn opaque string that represents a user for quota purposes. Must not exceed 40 characters.
userIpstringDeprecated. Please use quotaUser instead.

Request Body

{"accountId"=>"<string>", "active"=>"<boolean>", "id"=>"<string>", "name"=>"<string>", "parentLink"=>{"href"=>"<string>", "type"=>"analytics#webproperty"}, "scope"=>"<string>", "webPropertyId"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;accountId&quot;:&quot;\u003cstring\u003e&quot;,&quot;active&quot;:&quot;\u003cboolean\u003e&quot;,&quot;created&quot;:&quot;1945-12-12T05:27:54.027Z&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;index&quot;:81606079,&quot;kind&quot;:&quot;analytics#customDimension&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;parentLink&quot;:{&quot;href&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:&quot;analytics#webproperty&quot;},&quot;scope&quot;:&quot;\u003cstring\u003e&quot;,&quot;selfLink&quot;:&quot;minim qui ex dolore&quot;,&quot;updated&quot;:&quot;1960-11-10T01:37:51.615Z&quot;,&quot;webPropertyId&quot;:&quot;\u003cstring\u003e&quot;}