Skip to content

Update Team App Configuration

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.

Updates one setting: PERMISSION, KEEP_ALIVE, AUTO_START, or HIDE. At most three team apps can enable keep-alive. KEEP_ALIVE and HIDE are also dispatched asynchronously to eligible running phones; permission and auto-start are consumed at boot. Success confirms saving, not device completion.

Permission: PERMISSION: CLOUD_PHONE_APP_PERMISSION; KEEP_ALIVE: CLOUD_PHONE_APP_KEEP_ALIVE; AUTO_START: CLOUD_PHONE_APP_AUTO_START; HIDE: CLOUD_PHONE_APP_HIDE.

Documented business errors: 33354, 33424. 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

settingTypestringrequired

Setting type: permission, keep-alive, auto-start, or hide

Enum:"PERMISSION""KEEP_ALIVE""AUTO_START""HIDE"
enabledbooleanrequired

Whether enabled

curl -i -X POST \
  https://api.morelogin.com/cloudphone/team/app/updateSetting \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": "1672940217990529",
    "settingType": "KEEP_ALIVE",
    "enabled": true
  }'

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