DELETE /v2/vpcs/{vpc_id}
To delete a VPC, send a DELETE request to /v2/vpcs/$VPC_ID
. A 204 status
code with no body will be returned in response to a successful request.
The default VPC for a region can not be deleted. Additionally, a VPC can only be deleted if it does not contain any member resources. Attempting to delete a region's default VPC or a VPC that still has members will result in a 403 Forbidden error response.
Servers
- https://api.digitalocean.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
vpc_id |
String | Yes |
A unique identifier for a VPC. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.