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.
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
.
Fetches all the items in the 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
Identifier
The unique ID of the list.
The pagination cursor. An opaque string token indicating the position from which to continue when requesting the next/previous set of records. Cursor values are provided under result_info.cursors
in the response. You should make no assumptions about a cursor's content or length.
Amount of results to include in each paginated response. A non-negative 32 bit integer.
A search query to filter returned items. Its meaning depends on the list type: IP addresses must start with the provided string, hostnames and bulk redirects must contain the string, and ASNs must match the string exactly.
Whether the API call was successful
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