# Enable or disable global ROOT

Turn the global ROOT switch on or off for a Cloud Phone.
- **Preconditions**
: the phone must be powered on and not held by another member. Supported on compatible device models; on incompatible models the call succeeds but has no effect.
- **Effect**
: unlike
`/cloudphone/app/openRoot`
, the setting
**is persisted**
 on the phone's settings record and then pushed to the service as a device-wide switch.
- **Completion**
: synchronous. MoreLogin does not restart the phone; when the change takes effect on the device is device-specific behaviour.
- **Retry**
: idempotent.

Documented business errors: `33300`, `33301`. 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/enableRoot
Version: 2026-09-05

## Request fields (application/json):

  - `id` (string, required)
    Cloud Phone ID
    Example: 1558968155668507

  - `enableRoot` (boolean, required)
    Whether to enable global system-level ROOT permission
    Example: true

## Response 200:

  - `200` (unknown)
    Success. `data` is always null for this operation; the outcome is carried by `code`.

## Response 200 fields (application/json):

  - `code` (integer)
    Response code: 0 = success, >0 = error

  - `data` (null)

  - `msg` (string | null)
    Message; populated if code > 0

  - `requestId` (string)
    Unique request identifier; include it when contacting support

