# Update Team App Configuration

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.
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](/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/updateSetting
Version: 2026-09-05

## Request fields (application/json):

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

  - `settingType` (string, required)
    Setting type: permission, keep-alive, auto-start, or hide
    Enum: "PERMISSION", "KEEP_ALIVE", "AUTO_START", "HIDE"

  - `enabled` (boolean, required)
    Whether 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)

