Rules Lists
rules
Lists
rules.lists
Methods
Creates a new list of the specified type.
Deletes a specific list and all its items.
Fetches the details of a list.
Fetches all lists in the account.
Updates the description of a list.
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example: X-Auth-Email: user@example.com
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example: X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194
Account Rule Lists Write
Identifier
The unique ID of the list.
Whether the API call was successful
Domain types
rules.lists.bulk_operations
Methods
Gets the current status of an asynchronous operation on a list.
The status
property can have one of the following values: pending
, running
, completed
, or failed
. If the status is failed
, the error
property will contain a message describing the error.
Domain types
rules.lists.items
Methods
Appends new items to the list.
This operation is asynchronous. To get current the operation status, invoke the Get bulk operation status endpoint with the returned operation_id
.
Removes one or more items from a list.
This operation is asynchronous. To get current the operation status, invoke the Get bulk operation status endpoint with the returned operation_id
.
Removes all existing items from the list and adds the provided items to the list.
This operation is asynchronous. To get current the operation status, invoke the Get bulk operation status endpoint with the returned operation_id
.
Domain types