Stay organized with collections
Save and categorize content based on your preferences.
Stop receiving object change notifications through this channel.
While this method accepts a full channel resource, only the id and resourceId
fields are necessary. Other elements of a channel resource are legal but ignored. This allows
retaining the results of an objects.watchAll call and passing that result in its
entirety to channels.stop. For more, see our guide on
Object Change Notifications.
Request
HTTP request
POST https://storage.googleapis.com/storage/v1/channels/stop
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Channels: stop\n\n| **Note:** This method applies to the [Object Change Notification](/storage/docs/object-change-notification) feature, which is not the recommended way to create notifications for Cloud Storage. Instead, use [Pub/Sub Notifications for Cloud Storage](/storage/docs/pubsub-notifications), which are faster, more flexible, easier to set up, and more cost-effective.\n\nStop receiving object change notifications through this channel.\n\nWhile this method accepts a full channel resource, only the `id` and `resourceId`\nfields are necessary. Other elements of a channel resource are legal but ignored. This allows\nretaining the results of an `objects.watchAll` call and passing that result in its\nentirety to `channels.stop`. For more, see our guide on\n[Object Change Notifications](/storage/docs/object-change-notification).\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://storage.googleapis.com/storage/v1/channels/stop\n```\n\nThis method accepts [standard query parameters](/storage/docs/json_api/v1/parameters#query).\n\n### Request body\n\nIn the request body, supply data with the following structure:\n\n```gdscript\n{\n \"kind\": \"api#channel\",\n \"id\": string,\n \"resourceId\": string,\n \"resourceUri\": string,\n \"token\": string,\n \"expiration\": \"\u003cvar class=\"apiparam\" translate=\"no\"\u003elong\u003c/var\u003e\",\n \"type\": string,\n \"address\": string,\n \"payload\": boolean,\n \"params\": {\n (key): string\n }\n}\n```\n\n^1^ This property is a string formatted as the specified value type.\n\nResponse\n--------\n\nIf successful, this method returns an empty response body.\n\nTry it!\n-------\n\n\nUse the APIs Explorer below to call this method on live data and see the response."]]