How to iterate this by passing a list of ids. I've multiple ids in foo variable, I would like call delete_project.feature for each id available in that foo variable.
project.feature
* def foo = get response.data[*].id
* def del = call read('delete_project.feature')
delete_project.feature
Given path 'project', id
When method DELETE
Then status 200
Then match response.status == 'success'
By passing list of id's as a input to your feature you can actually make the call iterate feature that many times.
Refer data driven feature in karate