cURL
curl --request POST \ --url https://api.acedata.cloud/adsl/whitelist \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "ip": "123.112.122.131", "action": "add" } '
{ "success": true, "trace_id": "932f81e9-f78e-4321-9985-c3eeefd832e0" }
API token from https://platform.acedata.cloud
Specifies the format of the response from the server.
application/json
The IP address to be deleted from the whitelist.
"123.112.122.131"
The action to be performed on the IP address.
add
delete
"add"
OK, the request is successful.
The flag indicates the request is successful or not
Чи була ця сторінка корисною?