{
"portId": "1",
"name": null,
"tags": [],
"enabled": true,
"poeEnabled": true,
"type": "access",
"vlan": 1022,
"voiceVlan": 1035,
"allowedVlans": "all",
"rstpEnabled": true,
"stpGuard": "bpdu guard",
"linkNegotiation": "Auto negotiate",
"accessPolicyType": "Custom access policy",
"accessPolicyNumber": 3
}
With :
{"portId": "1", "name": None, "tags": [], "enabled": True, "poeEnabled": True, "type": "access", "vlan": 1022, "voiceVlan": 1035, "allowedVlans": "all", "isolationEnabled": False, "rstpEnabled": True, "stpGuard": "bpdu guard", "linkNegotiation": "Auto negotiate", "portScheduleId": None, "schedule": None, "udld": "Alert only", "linkNegotiationCapabilities": ["Auto negotiate", "1 Gigabit full duplex (forced)", "100 Megabit (auto)", "100 Megabit full duplex (forced)", "10 Megabit (auto)", "10 Megabit full duplex (forced)"], "accessPolicyType": "Custom access policy", "accessPolicyNumber": 3, "daiTrusted": False, "profile": {"enabled": False, "id": "", "iname": None}, "module": {"model": None}, "mirror": {"mode": "Not mirroring traffic"}}
Sorry for the bad data format. it is case sensitive (Params and not params)