# Update Team App ROOT Setting

Added in v2.70.0. The app must belong to the current team. Use the team app ID from `/api/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](/api-reference/getting-started/error-codes) for what each code means. Any operation can additionally return the common codes.

Endpoint: POST /api/cloudphone/team/app/updateEnableRoot
Version: 2026-09-05

## Request fields (application/json):

  - `id` (string, required)
    Team app ID

  - `enableRoot` (boolean, required)
    Whether ROOT is enabled

## Response 200:

  - `200` (unknown)
    Success. The outcome is carried by code; data is null.

## Response 200 fields (application/json):

  - `code` (integer)

  - `msg` (string | null)

  - `data` (null)

  - `requestId` (string)

