• Virtual Private Cloud

vpc
  1. Help Center
  2. Virtual Private Cloud
  3. API Reference
  4. APIs
  5. Subnet
  6. Deleting a Subnet

Deleting a Subnet

Function

This interface is used to delete a subnet.

URI

DELETE /v1/{project_id}/vpcs/{vpc_id}/subnets/{subnet_id}
Table 1 Parameter description

Name

Mandatory

Description

project_id

Yes

Specifies the project ID.

vpc_id

Yes

Specifies the ID of the subnet VPC.

subnet_id

Yes

Specifies the subnet ID, which uniquely identifies the subnet.

Request Message

  • Request parameter

    None

  • Example request

    None

Response Message

  • Response parameter

    None

  • Example response

    None

Status Codes

For details, see section Status Codes.

Error Codes

For details, see section Error Codes.