Skip to content

Stop Cloud Phone

Request

Stop a Cloud Phone.

  • Preconditions: the phone must be booting or powered on. It cannot be stopped while held by another member, or while a one-click new device, restart or reset is in progress.
  • Effect: stops billing, releases the concurrency slot, settles usage, and invalidates the connection credentials issued for the session. Stopping a phone that was still booting interrupts the start instead.
  • Completion: billing and local state are settled synchronously; device shutdown continues afterwards, so confirm with /cloudphone/info.
  • Retry: a second call reports the phone as not running. Batches abort on the first failure, so re-read state before retrying.

Documented business errors: 33300, 33301, 33308, 33331, 33332, 33333. See Error Codes for what each code means. Any operation can additionally return the common codes.

Security
Authorization
Bodyapplication/jsonrequired
idstringrequired
curl -i -X POST \
  https://api.morelogin.com/cloudphone/powerOff \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": "1596527092376632"
  }'

Responses

OK

Bodyapplication/json
codeintegerrequired

Return result code 0:Normal Other codes are exceptions.

msgstring or nullrequired

Error message

requestIdstringrequired

Operation Request ID

Response
{ "code": 0, "msg": null, "requestId": "0d8b6f1c-9f4e-4d02-9d1a-7c3f5a1b2c3d" }