Returns a list of ValueList
objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
Parameters
- aliasstring
The alias used to reference the value list when writing rules.
More parameters
- containsstring
- createdobject
- ending_
beforestring - limitinteger
- starting_
afterstring
Returns
A dictionary with a data
property that contains an array of up to limit
lists, starting after list starting_
. Each entry in the array is a separate ValueList
object. If no more lists are available, the resulting array will be empty.
{ "object": "list", "url": "/v1/radar/value_lists", "has_more": false, "data": [ { "id": "rsl_1MrQSwLkdIwHu7ixWOGS5c8M", "object": "radar.value_list", "alias": "custom_ip_blocklist", "created": 1680201894, "created_by": "API", "item_type": "ip_address", "list_items": { "object": "list", "data": [], "has_more": false, "total_count": 0, "url": "/v1/radar/value_list_items?value_list=rsl_1MrQSwLkdIwHu7ixWOGS5c8M" }, "livemode": false, "metadata": {}, "name": "Custom IP Blocklist" } ]}
Deletes a ValueList
object, also deleting any items contained within the value list. To be deleted, a value list must not be referenced in any rules.
Parameters
No parameters.
Returns
Returns an object with the deleted ValueList
object’s ID and a deleted parameter on success. Otherwise, this call raises an error.
{ "id": "rsl_1MrQSwLkdIwHu7ixWOGS5c8M", "object": "radar.value_list", "deleted": true}
Value list items allow you to add specific values to a given Radar value list, which can then be used in rules.
Related guide: Managing list items
An Issuing Cardholder
object represents an individual or business entity who is issued cards.
Related guide: How to create a cardholder