1
24.1 Legacy Series / Re: schedule traffice shaper python script via Web API
« on: February 27, 2024, 04:02:34 pm »Code: [Select]
python3 shaper.py disable 63c924d0-794e-4976-9bf0-e171e3911d29
I've input the uuid to the script,but it return the error.
Quote
2024-02-27 20:58:22,402 - ERROR - Failed to enable rule, status code: 400, response content: {"message":"action toggleRule expects at least 1 parameter(s)","status":400}
The show command works fine.
Quote
python3 shaper.py show 63c924d0-794e-4976-9bf0-e171e3911d29
Rule 63c924d0-794e-4976-9bf0-e171e3911d29 is currently enabled.