Updated on 2025-08-19 GMT+08:00

Deleting a Subnet CIDR Reservation

Function

This API is used to delete a subnet CIDR reservation.

Calling Method

For details, see Calling APIs.

URI

DELETE /v3/{project_id}/vpc/virsubnet-cidr-reservations/{virsubnet_cidr_reservation_id}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID.

For details about how to obtain a project ID, see Obtaining a Project ID.

virsubnet_cidr_reservation_id

Yes

String

ID of a subnet CIDR reservation.

Request Parameters

None

Response Parameters

Status code: 204

The DELETE operation is successful. For more status codes, see Status Codes.

None

Example Requests

Delete a single subnet CIDR reservation.

DELETE https://{Endpoint}/v3/{project_id}/vpc/virsubnet-cidr-reservations/ed4edb94-754c-7848-bb77-2d381906c535

Example Responses

None

Status Codes

Status Code

Description

204

The DELETE operation is successful. For more status codes, see Status Codes.

Error Codes

See Error Codes.