mirror.subscriptions.update

PUT {{baseUrl}}/subscriptions/:id?alt=json&fields=<string>&key=<string>&oauth_token=<string>&prettyPrint=true&quotaUser=<string>&userIp=<string>

Updates an existing subscription in place.

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.
prettyPrintbooleanReturns 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

{"callbackUrl"=>"<string>", "collection"=>"<string>", "id"=>"<string>", "kind"=>"mirror#subscription", "notification"=>{"collection"=>"ut nulla sit amet", "itemId"=>"Ut consequat id cillu", "operation"=>"ut", "userActions"=>[{"payload"=>"irure", "type"=>"Ut et occaecat"}, {"payload"=>"minim ad", "type"=>"ipsum consectetur amet commodo Duis"}], "userToken"=>"mollit", "verifyToken"=>"m"}, "operation"=>["<string>", "<string>"], "updated"=>"<dateTime>", "userToken"=>"<string>", "verifyToken"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

&quot;&quot;