curl --location --request PUT '/smartflows//actions/delay/' \
--header 'Authorization: Bearer JWT' \
--header 'Content-Type: application/json' \
--data '{
"name": "Custom activity name",
"duration": {
"value": 24,
"unit": "second"
},
"downtimeFrom": "22:00:00",
"downtimeTo": "08:30:00"
}'{
"error": "Reason of failure"
}