Updated on 2024-11-11 GMT+08:00

Deleting a Global Accelerator

Function

This API is used to delete a global accelerator.

Constraints

Before deleting the global accelerator, you must delete all listeners associated with the global accelerator.

Calling Method

For details, see Calling APIs.

URI

DELETE /v1/accelerators/{accelerator_id}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

accelerator_id

Yes

String

Specifies the global accelerator ID.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Specifies the user token. The token can be obtained by calling the IAM API. The value of X-Subject-Token in the response header is the user token.

Response Parameters

None

Example Requests

Deleting a global accelerator

DELETE https://{ga_endpoint}/v1/accelerators/ac1bf54f-6a23-4074-af77-800648d25bc8

Example Responses

None

Status Codes

Status Code

Description

204

Global accelerator deleted.

Error Codes

See Error Codes.