All Products
Search
Document Center

Cloud Phone:ModifyPolicyGroup

Last Updated:Dec 15, 2025

Modifies the information of a policy group.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

Html5FileTransfer

string

No

The file transfer policy for the Wuying web client.

Valid values:

  • all :

    Allows uploads and downloads.

  • download :

    Allows downloads.

  • upload :

    Allows uploads.

  • off :

    Disables file transfer.

off

LocalDrive

string

No

The local disk mapping permission.

Valid values:

  • read :

    Read-only.

  • readwrite :

    Read and write.

  • off :

    Disabled.

off

CameraRedirect

string

No

Specifies whether to enable local camera redirection.

Valid values:

  • off :

    Disabled.

  • on :

    Enabled.

off

Clipboard

string

No

The clipboard permission.

Valid values:

  • read :

    Read-only.

  • readwrite :

    Read and write.

  • off :

    Disabled.

readwrite

PolicyGroupId

string

No

The policy ID.

pg-4bi18ebi9tfjh****

PolicyGroupName

string

No

The policy name.

默认策略

ResolutionHeight

integer

No

The height of the resolution. Unit: pixels.

1280

ResolutionWidth

integer

No

The width of the resolution. Unit: pixels.

720

LockResolution

string

No

Specifies whether to lock the resolution.

Valid values:

  • off :

    Disabled.

  • on :

    Enabled.

off

NetRedirectPolicy

object

No

Network redirection.

NetRedirect

string

No

Specifies whether to enable network redirection.

Valid values:

  • off :

    Disabled.

  • on :

    Enabled.

off

CustomProxy

string

No

Specifies whether to manually configure a transparent proxy.

Valid values:

  • off :

    Disabled.

  • on :

    Enabled.

off

ProxyType

string

No

The proxy protocol type.

Valid values:

  • socks5 :

    SOCKS5

socks5

HostAddr

string

No

The IP address of the transparent proxy. The value must be an IPv4 address.

47.100.XX.XX

Port

string

No

The port for the transparent proxy. The port number must be an integer from 1 to 65535.

1145

ProxyUserName

string

No

The username for the proxy. The username must be 1 to 256 characters in length and cannot contain Chinese characters or spaces.

username

ProxyPassword

string

No

The password for the proxy. The password must be 1 to 256 characters in length and cannot contain Chinese characters or spaces.

password

Rules

array<object>

No

The proxy rules.

object

No

A proxy rule.

Target

string

No

The application package name or domain name.

example.com

RuleType

string

No

The rule type.

Valid values:

  • prc :

    Application package name

  • domain :

    Domain name

domain

Watermark

object

No

The screen watermark.

WatermarkSwitch

string

No

Specifies whether to enable the screen watermark.

Valid values:

  • off :

    Disabled.

  • on :

    Enabled.

off

WatermarkTypes

array

No

The content of the screen watermark.

string

No

The content of the screen watermark.

Valid values:

  • Username :

    Username

  • CustomText :

    Custom text

  • ClientIpAddress :

    Client IP address

  • IpAddress :

    IP address

  • ClientTime :

    Current time

Username

WatermarkCustomText

string

No

The custom text for the watermark. The text can be up to 10 characters in length and cannot contain emoji characters.

custom text

WatermarkFontSize

integer

No

The font size of the watermark. Valid values: 10 to 20.

12

WatermarkColor

integer

No

The font color of the watermark. Valid values: 0 to 16777215.

0

WatermarkTransparencyValue

integer

No

The opacity of the watermark. A larger value makes the watermark more opaque. Valid values: 10 to 100.

25

Response elements

Element

Type

Description

Example

object

Response parameters.

RequestId

string

The request ID.

552B7EED-D434-511F-B838-29EA4E906034

Examples

Success response

JSON format

{
  "RequestId": "552B7EED-D434-511F-B838-29EA4E906034"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.