Help Center> Anti-DDoS> API Reference> API> Default Anti-DDoS Controller> Deleting the Default Anti-DDoS Policy Configured for Newly Purchased Public IP Addresses

Deleting the Default Anti-DDoS Policy Configured for Newly Purchased Public IP Addresses

Function

This API enables you to delete the default protection policy configured for newly purchased public IP addresses.

Debugging

You can use API Explorer to debug this API.

URI

DELETE /v1/{project_id}/antiddos/default-config

Table 1 Path parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

poject id

Minimum: 32

Maximum: 64

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

token

Minimum: 32

Maximum: 2097152

Content-Type

Yes

String

Default: application/json;charset=utf8

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

error_code

String

Internal error code

error_msg

String

Internal error description

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.