projects
POST /v1/projects/{project_id}/deviceSessions/{device_session_id}:cancel 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.
post/v1/{+name}:cancel
Path parameters
namestring required
Required. Name of the DeviceSession, e.g. "projects/{project_id}/deviceSessions/{session_id}"
Request body
CancelDeviceSessionRequest required
The request object for cancelling a Device Session.
Response
Successful response