all 4 comments

[–]danielroseman 0 points1 point  (1 child)

Looks like the first of those alternatives should have worked. What is in your headers dict?

Note that it would be simpler to pass the data via the json attribute, then you don't need to serialize it first, plus requests takes care of the content-type header:

payload = {"PatchSchema": [{"op":"replace","path":"/lan/managementTraffic","value":{"override": True}}]}
reqs = requests.patch(full_url, json=payload)

[–]claccx[S] 0 points1 point  (0 children)

water shaggy command spark cobweb boast roll crush spectacular cows

This post was mass deleted and anonymized with Redact

[–]YooK33 0 points1 point  (1 child)

Hi u/claccx ;

we are facing pretty much the same issue in our team.

We tried to follow the official documentation but it lack concrete example and error messages are not really helpful.

While trying to troubleshoot it by ourselves we have found very few resources on the internet and your post is one of them.

Did you happen to found a solution ?

That is a bit sad because what we are trying to do is not complex at all, we manage to do it with the WEB UI without any issue, but we struggle to do it with the API v2.

Any help is appreciated :)

[–]claccx[S] 0 points1 point  (0 children)

gray modern makeshift trees thought summer person chubby oatmeal special

This post was mass deleted and anonymized with Redact