Skip to content

One-click new machine

Request

Replace a Cloud Phone's device identity in place (one-click new device).

  • Preconditions: the phone must be powered on and not held by another member. A supplied brand and model must be one the phone's SKU supports. This consumes the daily Cloud Phone creation quota, the same quota /cloudphone/create uses.
  • Effect: pushes a new brand and model to the device, clears the installed-app records for that phone, resets its phone number, and aborts any running AI task. The exact set of identifiers the service regenerates is not defined by MoreLogin.
  • Completion: accepted, not complete. The phone sits in a one-click-new-device state; poll /cloudphone/info until it leaves that state.
  • Concurrency: while it runs, power on, power off and every command that needs a running phone are rejected. A concurrent second call is rejected rather than queued.

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

Security
Authorization
Bodyapplication/jsonrequired
idstring

Cloud phone ID

brandstring

Brand

modelIdinteger

Model ID

curl -i -X POST \
  https://api.morelogin.com/cloudphone/newMachine \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": "1595372958075305"
  }'

Responses

OK

Bodyapplication/json
codeintegerrequired

Response code:0 indicates success, >0 indicates failure

msgstring or nullrequired
requestIdstring

Unique request identifier; include it when contacting support

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