Skip to content

Update Team App ROOT Setting

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.

Saves the app ROOT switch. Enabling ROOT is rejected for packages prohibited by the service configuration.

Permission: EXTENSION_EDIT.

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

enableRootbooleanrequired

Whether ROOT is enabled

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

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