Updated on 2025-07-04 GMT+08:00

Deleting a Transit Subnet

Function

This API is used to delete a transit subnet.

Calling Method

For details, see Calling APIs.

URI

DELETE /v3/{project_id}/private-nat/transit-subnets/{transit_subnet_id}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID.

transit_subnet_id

Yes

String

Specifies the transit subnet ID.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token.

It is a response to the API for obtaining a user token. This API is the only one that does not require authentication.

The value of X-Subject-Token in the response header is the token value.

Response Parameters

Status code: 204

The transit subnet deleted.

None

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

204

The transit subnet deleted.

400

Bad Request

Error Codes

See Error Codes.