Delete VPC
Removes the VPC and releases its address range. Refused while any resource is still attached to it. This cannot be undone.
DELETE
/vpc/{vpc_id}/Path parameters
vpc_idPathintegerrequiredVPC ID
Query parameters
project_idQueryintegerrequiredProject ID
active_iamQueryintegeroptionalActive IAM ID (To access contact person account) Find your Active IAM ID here
locationQuerystringrequiredLocation
Responses
200VPC deleted
example
200example
VPC deleted successfully.412Something is still attached to the VPC, so it cannot be deleted.
example
412example
Detach all resources before deleting this VPC.