Cancel a DeviceSession. This RPC changes the DeviceSession to state FINISHED and terminates all connections. Canceled sessions are not deleted and can be retrieved or listed by the user until they expire based on the 28 day deletion policy.
HTTP request
POST https://devicestreaming.googleapis.com/v1/{name=projects/*/deviceSessions/*}:cancel
[[["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-02-25 UTC."],[[["This page outlines the process for canceling a DeviceSession, which transitions it to a FINISHED state and terminates connections, while also noting that these sessions are retained until a 28-day deletion policy is applied."],["The HTTP request to cancel a DeviceSession is a POST request to a specific URL pattern, utilizing gRPC Transcoding syntax."],["The request requires a `name` path parameter, which is a string representing the DeviceSession's identifier, such as \"projects/{projectId}/deviceSessions/{session_id}\"."],["The request body must be empty, and a successful response is also an empty JSON object."],["Authorization for this action requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]