Start or stop call flow control with api command

hi

i’m looking for a way to switch call flow control by command

for example, this is a command to dial out by command

curl -v -u user:password -X POST “http://pbxip:pbxport/ari/channels?endpoint=Local/123456789@from-internal&extension=987654321&context=from-internal”

is there something similar to switch a specific call flow control on and off? (gree/red or day/night)

thank you