Help Center/ Direct Connect/ API Reference/ API/ Global DC Gateways/ Deleting a Global DC Gateway
Updated on 2025-09-01 GMT+08:00

Deleting a Global DC Gateway

Function

This API is used to delete a global DC gateway.

Calling Method

For details, see Calling APIs.

URI

DELETE /v3/{project_id}/dcaas/global-dc-gateways/{global_dc_gateway_id}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID.

Minimum: 0

Maximum: 36

global_dc_gateway_id

Yes

String

Specifies the global DC gateway ID.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Specifies the user token. To obtain the token, see section "Obtaining the User Token" in the Identity and Access Management API Reference. The token is the value of X-Subject-Token in the response header.

Minimum: 0

Maximum: 10240

Response Parameters

None

Example Requests

Deleting a global DC gateway

DELETE https://{dc_endpoint}/v3/b197c48159d44a66b32c538c3f8da89a/dcaas/global-dc-gateways/71f6ac9b-2745-4fb8-96c8-9d97d969c4b5

Example Responses

None

Status Codes

Status Code

Description

204

NO CONTENT

Error Codes

See Error Codes.