Skip to content

Update Team App Target Version

Request

Added in v2.70.0. The app must belong to the current team. Use the team app ID from /cloudphone/team/app/page, not a Cloud Phone ID or catalogue app ID.

Selects a different available catalogue version with the same package name. Only catalogue-sourced team apps are supported. The current version is rejected. Saves the target for the boot installation flow; does not upgrade running phones immediately.

Permission: CLOUD_PHONE_APP_UPDATE_VERSION.

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

Security
Authorization
Bodyapplication/jsonrequired
idstring^\d+$required

Team app ID

packageNamestring, non-emptyrequired

Application package name

versionCodestring^\d+$required

Target version code as a decimal string

curl -i -X POST \
  https://api.morelogin.com/cloudphone/team/app/updateVersion \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": "1672940217990529",
    "packageName": "com.facebook.katana",
    "versionCode": "450000000"
  }'

Responses

Success. The outcome is carried by code; data is null.

Bodyapplication/json
codeinteger
msgstring or null
datanull
requestIdstring
Response
{ "code": 0, "msg": null, "data": null, "requestId": "0d8b6f1c-9f4e-4d02-9d1a-7c3f5a1b2c3d" }