Help Center/ Cloud Firewall/ API Reference/ API/ Filtering traffic/ Re-importing the IP Address Blacklist Used for Traffic Filtering After an Import Failed
Updated on 2025-08-12 GMT+08:00

Re-importing the IP Address Blacklist Used for Traffic Filtering After an Import Failed

Function

After the IP address blacklist used for traffic filtering fails to be imported, this API is used to retry the import.

Calling Method

For details, see Calling APIs.

URI

POST /v1/{project_id}/ptf/ip-blacklist/retry

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID, which can be obtained by calling an API or from the console. For details, see Obtaining a Project ID.

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

fw_instance_id

Yes

String

Firewall ID, which can be obtained by referring to Obtaining a Firewall ID.

name

No

String

Name of the IP address blacklist that fails to be imported.

Request Parameters

None

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

data

Object

Data import

Example Requests

https://{Endpoint}/v1/eefb11b22d5944f2aa067954516df1cf/ptf/ip-blacklist/retry?fw_instance_id=812f478c-940e-4e00-824f-7287250d76dc&name=ip-blacklist-eip.txt

Request: /v1/eefb11b22d5944f2aa067954516df1cf/ptf/ip-blacklist/retry?fw_instance_id=812f478c-940e-4e00-824f-7287250d76dc&name=ip-blacklist-eip.txt
Response: {}

Example Responses

None

Status Codes

Status Code

Description

200

Response of the retry operation. If the retry succeeds, no value is assigned to the fields in this structure.

401

Unauthorized: Request error.

403

Forbidden: Access forbidden.

Error Codes

See Error Codes.