{
"description": "This is a note.",
"kind": "ip",
"name": "list1"
}
curl --location --request POST 'https://api.cloudflare.com/client/v4/accounts//rules/lists' \
--header 'Content-Type: application/json' \
--data-raw '{
"description": "This is a note.",
"kind": "ip",
"name": "list1"
}'
{
"errors": [],
"messages": [],
"result": {
"0": null,
"created_on": "2020-01-01T08:00:00Z",
"description": "This is a note.",
"id": "2c0fc9fa937b11eaa1b71c4d701ab86e",
"kind": "ip",
"modified_on": "2020-01-10T14:00:00Z",
"name": "list1",
"num_items": 10,
"num_referencing_filters": 2
},
"success": true,
"result_info": {
"count": 1,
"page": 1,
"per_page": 20,
"total_count": 2000
}
}