Deletes one or more Internet access packages to disable Internet access.

Debugging

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 DeleteNetworkPackages

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

NetworkPackageId.N RepeatList Yes np-amtp8e8q1o9e4****

The ID of Internet access package N. You can specify one or more Internet access package IDs.

RegionId String Yes cn-hangzhou

The ID of the region.

Response parameters

Parameter Type Example Description
RequestId String 269BDB16-2CD8-4865-84BD-11C40BC21DB0

The ID of the request.

Examples

Sample requests

https://ecd.cn-hangzhou.aliyuncs.com/?Action=DeleteNetworkPackages
&NetworkPackageId.1=np-amtp8e8q1o9e4****
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

<DeleteNetworkPackages>
      <RequestId>269BDB16-2CD8-4865-84BD-11C40BC21DB0</RequestId>
</DeleteNetworkPackages>

JSON format

{
    "RequestId":"269BDB16-2CD8-4865-84BD-11C40BC21DB0"
}

Error codes

For a list of error codes, visit the API Error Center.