Endpoint

Overview

Ends the session on each phone. The phone’s screen turns off and its network is disconnected. Any Appium session and any live input on the phone ends with it. This ends the whole session, including all browser views and any persistent API hold. Closing just one browser view uses its view-close operation instead. Your API keys and web login act as the same user. Another user’s session returns in_use; administrators can end it. Ending the session of a phone that has none does nothing and succeeds, so the call is safe to repeat.

Request Body

string[]
The phones whose sessions to end. Leave it out to end your active sessions on the phones you can access.
string
One phone, instead of phoneIds. The answer’s data is then that phone’s result itself, not a list, and a failure on the phone is the request’s ok: false with the phone’s error (at the HTTP status of its code). Give phoneId or phoneIds, not both.

Response

boolean
true when the request was carried out. Check each result for how it went on that phone.
Result[]
One Result per phone, in the order of phoneIds. This endpoint adds no fields of its own.
A result with ok: true means the phone has no session any more.