Restores or disables Internet access.


If you want to temporarily disable Internet access for a cloud desktop, you can disable the Internet access package. You can restore the package based on your requirements.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyNetworkPackageEnabled

The operation that you want to perform. Set the value to ModifyNetworkPackageEnabled.

Enabled Boolean Yes true

Specifies whether to restore or disable Internet access for the cloud desktop.

  • true: restores Internet access.
  • false: disables Internet access.
NetworkPackageId String Yes np-cfedn7r2pe48g****

The ID of the Internet access package.

RegionId String Yes cn-hangzhou

The ID of the region.

Response parameters

Parameter Type Example Description
RequestId String 56939C35-3903-4AA6-A58C-1684CC0F7EA8

The ID of the request.


Sample requests
&<Common request parameters>

Sample success responses

XML format


JSON format

    "RequestId": "56939C35-3903-4AA6-A58C-1684CC0F7EA8"