Skip to content

Update Cloud Phone Profile

Request

Update the configuration of one or more Cloud Phones.

  • Preconditions: the phones must belong to the team. Region, language and coordinate values are validated for each device model, exactly as on create. Moving a phone into a group you are not authorized for is rejected.
  • Effect: overwrites the phone settings and refreshes the GPS configuration; may create tag bindings. Nothing is charged and concurrency is unaffected.
  • Completion: synchronous, and idempotent for the same body.
Security
Authorization
Bodyapplication/jsonrequired
idArray of stringsrequired

Cloud phone IDs

envNamestring, [ 1 .. 64 ] characters

Cloud phone name (≤64 chars)

phoneNumberstring

Customize your phone number. Format requirements:Must begin with a + sign, country code must be 1-3 digits (excluding 86), total length 8-14 digits, and contain only + and numbers.

powerOnBillingStrategyinteger

Non-Monthly cloud phone billing method (0:default, 1:parallel pack only)

Enum:01
proxyIdstring

Proxy ID

groupIdstring

Environment group ID

groupNamestring, <= 50 characters

Existing group name, or a new group name to create when no matching group exists.

tagsArray of strings

Replacement tag names. Blank values are ignored.

envRemarkstring, <= 1500 characters

Environment remark (≤1500 chars, line breaks supported)

automaticGeoboolean

Auto geolocation

automaticLanguageboolean

Auto language

automaticLocationboolean

Auto location (timezone & country)

countrystring

Country

timezonestring

Timezone

languagestring

Language

latitudenumber

Latitude

longitudenumber

Longitude

enableRootboolean

Enable global ROOT

curl -i -X POST \
  https://api.morelogin.com/cloudphone/edit/batch \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": [
      "1637238770951311"
    ],
    "proxyId": "0",
    "automaticGeo": false,
    "automaticLanguage": false,
    "automaticLocation": false,
    "country": "bo",
    "timezone": "America/La_Paz",
    "language": "de-CH",
    "latitude": 0,
    "longitude": 0
  }'

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" }