curl --location --request GET '/smartflows//actions/lists/contact-remove/' \
--header 'Authorization: Bearer JWT' \
--header 'Content-Type: application/json' \
--data '{
"data": {
"name": "Custom activity name",
"activityId": "4a06896c-81b3-44f4-b493-2057bef951a2",
"smartflowId": "4a06896c-81b3-44f4-b493-2057bef951a2",
"ancestorId": "4a06896c-81b3-44f4-b493-2057bef951a2",
"descendantId": "4a06896c-81b3-44f4-b493-2057bef951a2",
"listIds": [
123,
456
],
"metrics": {
"contactsCount": 123
}
}
}'{
"error": "Reason of failure"
}