analytics.management.profiles.patch

PATCH {{baseUrl}}/management/accounts/:accountId/webproperties/:webPropertyId/profiles/:profileId?alt=<string>&fields=<string>&key=<string>&oauth_token=<string>&prettyPrint=<boolean>&quotaUser=<string>&userIp=<string>

Updates an existing view (profile). This method supports patch semantics.

Request Params

KeyDatatypeRequiredDescription
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>", "botFilteringEnabled"=>"<boolean>", "childLink"=>{"href"=>"<string>", "type"=>"analytics#goals"}, "currency"=>"<string>", "defaultPage"=>"<string>", "eCommerceTracking"=>"<boolean>", "enhancedECommerceTracking"=>"<boolean>", "excludeQueryParameters"=>"<string>", "id"=>"<string>", "name"=>"<string>", "parentLink"=>{"href"=>"<string>", "type"=>"analytics#webproperty"}, "siteSearchCategoryParameters"=>"<string>", "siteSearchQueryParameters"=>"<string>", "starred"=>"<boolean>", "stripSiteSearchCategoryParameters"=>"<boolean>", "stripSiteSearchQueryParameters"=>"<boolean>", "timezone"=>"<string>", "type"=>"<string>", "websiteUrl"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;accountId&quot;:&quot;\u003cstring\u003e&quot;,&quot;botFilteringEnabled&quot;:&quot;\u003cboolean\u003e&quot;,&quot;childLink&quot;:{&quot;href&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:&quot;analytics#goals&quot;},&quot;created&quot;:&quot;2010-02-28T08:19:52.327Z&quot;,&quot;currency&quot;:&quot;\u003cstring\u003e&quot;,&quot;defaultPage&quot;:&quot;\u003cstring\u003e&quot;,&quot;eCommerceTracking&quot;:&quot;\u003cboolean\u003e&quot;,&quot;enhancedECommerceTracking&quot;:&quot;\u003cboolean\u003e&quot;,&quot;excludeQueryParameters&quot;:&quot;\u003cstring\u003e&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;internalWebPropertyId&quot;:&quot;pariatur consequat aliqua fugiat qui&quot;,&quot;kind&quot;:&quot;analytics#profile&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;permissions&quot;:{&quot;effective&quot;:[&quot;elit eu nisi labore&quot;,&quot;aliqua consectetur tempor elit ex&quot;]},&quot;selfLink&quot;:&quot;eiusmod deserunt labore consectetur culpa&quot;,&quot;siteSearchCategoryParameters&quot;:&quot;\u003cstring\u003e&quot;,&quot;siteSearchQueryParameters&quot;:&quot;\u003cstring\u003e&quot;,&quot;starred&quot;:&quot;\u003cboolean\u003e&quot;,&quot;stripSiteSearchCategoryParameters&quot;:&quot;\u003cboolean\u003e&quot;,&quot;stripSiteSearchQueryParameters&quot;:&quot;\u003cboolean\u003e&quot;,&quot;timezone&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:&quot;\u003cstring\u003e&quot;,&quot;updated&quot;:&quot;1949-05-27T01:17:53.166Z&quot;,&quot;webPropertyId&quot;:&quot;irure minim&quot;,&quot;websiteUrl&quot;:&quot;\u003cstring\u003e&quot;}