Method: channels.stop
Stops watching resources through this channel.
HTTP request
POST https://www.googleapis.com/drive/v2/channels/stop
The URL uses gRPC Transcoding syntax.
Request body
The request body contains an instance of Channel
.
Response body
If successful, the response body is empty.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/docs
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.appdata
https://www.googleapis.com/auth/drive.apps.readonly
https://www.googleapis.com/auth/drive.file
https://www.googleapis.com/auth/drive.meet.readonly
https://www.googleapis.com/auth/drive.metadata
https://www.googleapis.com/auth/drive.metadata.readonly
https://www.googleapis.com/auth/drive.photos.readonly
https://www.googleapis.com/auth/drive.readonly
Some scopes are restricted and require a security assessment for your app to use them. For more information, see the Authorization guide.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-17 UTC.
[null,null,["Last updated 2024-09-17 UTC."],[[["Sends a POST request to `https://www.googleapis.com/drive/v2/channels/stop` to stop watching resources."],["The request body should contain a Channel object to specify the channel to stop."],["A successful request results in an empty response body."],["Requires authorization with one of the listed OAuth scopes, including `https://www.googleapis.com/auth/drive` or others with varying levels of access to Google Drive resources."]]],["To stop watching resources, a `POST` request is sent to `https://www.googleapis.com/drive/v2/channels/stop`. The request body must contain a `Channel` instance. A successful operation results in an empty response body. Authorization requires one of several specified OAuth scopes, including `https://www.googleapis.com/auth/drive` and others, with some requiring a security assessment. The URL employs gRPC Transcoding syntax.\n"]]