DeleteSubnet

GET /?Action=DeleteSubnet
Description

Deletes a specified subnet.
You must terminate all the running instances in the subnet before deleting it.

Body parameter

Required: false
Name: DeleteSubnetRequest

Name Description Required Schema Default Example

SubnetId

The ID of the subnet you want to delete.

true

string

Responses
HTTP Code 200
HTTP Code Description Schema

200

DeleteSubnetResult

Response 200

Response 200

Name Description Required Schema Default Example

requestId

The ID of the request.

false

string

return

If true, the request succeeds. Otherwise, an error is returned.

false

boolean