Hi Kavi,
If you mean all rows when you are saying bulk, you can delete all rows with using below endpoint.
As far as I know, it is not possible to add multiple rows. Adding with using loop looks the best choice. Previously, I had created a multi threaded script for adding rows faster. Unfortunately, it didn't work because SOAR processes "add row" requests one by one in the background.
------------------------------
Burak Karaduman
------------------------------
Original Message:
Sent: Thu October 27, 2022 12:51 PM
From: Kavi Harjani
Subject: Bulk upload/delete rows using REST APIs to data tables
Was wondering if there was a way to bulk create or delete using
POST /orgs/{org_id}/incidents/{inc_id}/table_data/{table_id}/row_data
DELETE /orgs/{org_id}/incidents/{inc_id}/table_data/{table_id}/row_data/{row_id}
into the datatable?
Currently I am using script to loop over all the rows that are to be added, trying to find a better approach
Thanks & Regards,
------------------------------
Kavi Harjani
------------------------------