curl --request POST \
--url https://api-dev.iclosed.io/deals/delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"deleteAll": true,
"params": {
"dataTable": "deals",
"search": "<string>",
"assigned": "PENDING",
"setterIds": [
123
],
"userContacts": true,
"filters": {}
}
}
'