Delete a VPC subnet

Delete a single VPC subnet.

The user accessing this operation must have read_write grants to the VPC. A successful request triggers a subnet_delete event.

📘

You need to delete all network interfaces, managed databases and NodeBalancers that this subnet is assigned to before you can delete it. If interfaces are active, the associated Linode needs to be shut down before they can be removed. For more information see:

​​​​​

linode-cli vpcs subnet-delete $vpcId $vpcSubnetId

<https://techdocs.akamai.com/cloud-computing/docs/getting-started-with-the-linode-cli>
vpc:read_write

<https://techdocs.akamai.com/linode-api/reference/get-started#oauth>
Language
Credentials
Click Try It! to start a request and see the response here!