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
Request
- Base URL: https://testing.googleapis.com
- URL: https://testing.googleapis.com/v1/{+name}:cancel
- Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)
Path parameters
namestring required
Required. Name of the DeviceSession, e.g. "projects/{project_id}/deviceSessions/{session_id}"
Request body
Cancel Device Session Request required
The request object for cancelling a Device Session.
Response
Successful response
Changes
- breaking
removed the request body
- breaking
removed the media type
*/*for the response with the status
- breaking