DeleteSubnet
In this article:
DeleteSubnet#
Description#
Deletes the specified subnet.
Request Parameters#
SubnetId — The ID of the subnet
Required: Yes
Type: String
Response Elements#
requestId — The request ID
Type: String
return —
True
is returned if the request succeeds and an error otherwise.Type: Boolean
Examples#
c2-ec2 DeleteSubnet SubnetId <subnet_id>