All Products
Search
Document Center

WUYING Workspace:ModifyNetworkPackageEnabled

Last Updated:Apr 11, 2024

Restores or disables a premium bandwidth plan.

Operation description

If you want to temporarily disable the Internet access of your cloud computer after the Internet access is enabled for your cloud computer, you can disable the premium bandwidth plan and restore it as needed.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID. You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou
NetworkPackageIdstringYes

The ID of the premium bandwidth plan.

np-cfedn7r2pe48g****
EnabledbooleanYes

Specifies whether to restore the premium bandwidth plan of the cloud computer.

Valid values:

  • true

  • false

true

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

1CBAFFAB-B697-4049-A9B1-67E1FC5F****

Examples

Sample success responses

JSONformat

{
  "RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history