Import an exception list
Spaces method and path for this operation:
post /s/{space_id}/api/exception_lists/_import
Refer to Spaces for more information.
Import an exception list and its associated items from an NDJSON file.
Query parameters
-
Determines whether existing exception lists with the same
list_idare overwritten. If any exception items have the sameitem_id, those are also overwritten.Default value is
false. -
Default value is
false. -
Default value is
false. -
Determines whether the list being imported will have a new
list_idgenerated. Additionalitem_id's are generated for each exception item. Both the exception list and its items are overwritten.Default value is
false.
POST
/api/exception_lists/_import
curl \
--request POST 'https://localhost:5601/api/exception_lists/_import' \
--header "Authorization: $API_KEY" \
--header "Content-Type: multipart/form-data" \
--form "file=@file"