I am trying to configure spanning tree priority via an API. Unfortunately it didn't work and I don't know if my URL or JSON is wrong.
URL = f"https://{ip}/api/mo/sys/stp/inst/vlan-1234.json"
jsonData = {
"stpVlan": {
"attributes": {
"adminSt": "4"
}
}
}