Hello Dears ,
Is there’s any way to delete bulk of submitted data , as I have to delete more than 1250 records and this could be repeated each month . Noted that those are the not correct data but I still need to keep other so I can’t select all and delete
Have you gone through our support article Editing Responses in Multiple Submissions
? It should solve your issue:
Thanks for your replay , however this will not fit my case as I still have to filter them one by one to select as it’s an random wrong summation I have no criteria to filter with i only have the Id of each wrong one that i need to delete
is there’s any other option like Sql Statement for delete list of id’s
Pinging in @Josh here if there are any other workarounds.
Hi @ebm_2, you are able to delete bulk submissions based on an array of submission ids through the API.
You can send a DELETE
request to the https://{kf_url}/api/v2/assets/{asset_uid}/data/bulk/
endpoint with a payload containing an array of the submission ids.
For example, let’s assume you want to delete submissions with ids of: 1, 3, 5 and 7, you can do the following:
curl -X DELETE https://KF_URL/api/v2/assets/ASSET_UID/data/bulk/ \
-H "Authorization: Token TOKEN" \
-d 'payload={"submission_ids":[1,3,5,7]}
Where KF_URL
, ASSET_UID
and TOKEN
are your values.
(You can refer to the documentation at https://KF_URL/api/v2/assets/ASSET_UID/data/
for more details)
Woow , many thanks dear I will give this a try and let you know the feedback