v53

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-076771,7565.2 MB
Security Exceptions API

Import an exception list

Spaces method and path for this operation:

<div><span class="operation-verb post">post</span>&nbsp;<span class="operation-path">/s/{space_id}/api/exception_lists/_import</span></div>

Refer to Spaces for more information.

Import an exception list and its associated items from an NDJSON file.

post/api/exception_lists/_import

Query parameters

overwriteboolean

Determines whether existing exception lists with the same list_id are overwritten. If any exception items have the same item_id, those are also overwritten.

as_new_listboolean

Determines whether the list being imported will have a new list_id generated. Additional item_id's are generated for each exception item. Both the exception list and its items are overwritten.

Response

Successful response

successboolean required
success_countinteger required
success_count_exception_list_itemsinteger required
success_count_exception_listsinteger required
success_exception_list_itemsboolean required
success_exception_listsboolean required

Example response

{
  "errors": [
    {
      "id": "9e5fc75a-a3da-46c5-96e3-a2ec59c6bb85",
      "item_id": "simple_list_item",
      "list_id": "simple_list"
    }
  ]
}