Can't set client rate limit with controller API
I'm trying to set a client's rate limit through the api (with python), but I keep getting a weird error message:
{"errorCode":-1001,"msg":"Parameter [mode] could not be null.\n"}
This error code isn't in the API documentation. I'll post the code in a comment below.
I feel like I have everything set IAW the documentation, but I'm kind of at a loss here. I've tried it with the mac address both in upper and lower case, same error. Tried changing the "true" to True and 1, same error. Other API calls works, it's just rate limit that is giving me issues.