Add an item to a list
castle_create_list_itemAdd an entry to a list — for example block an IP or an email. This changes live policy behaviour. Castle: POST /v1/lists/{list_id}/items.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | Why this entry was added. | |
| list_id | Yes | The list to add to. | |
| author_type | Yes | What kind of actor is adding this entry. | |
| primary_value | Yes | The value to add, matching the list's primary_field. | |
| secondary_value | No | Value for the list's secondary_field. | |
| auto_archives_at | No | ISO-8601 time to archive the entry automatically. | |
| author_identifier | Yes | Who is adding it, e.g. the analyst's email address. |