I'm trying to uptade the groups of a host via API but I'm getting an error ("code": -32602, "message": "Invalid params.","data": "Incorrect method "host.uptade".") even though my request is (seemingly) correct.
Request:
What am I missing? Any help is appreciated!
Thank you.
Request:
Code:
{
"jsonrpc": "2.0",
"method": "host.uptade",
"params": {
"hostid":"10829",
"groups":[
{
"groupid": "112"
},
{
"groupid": "11"
}
]
},
"auth": "86a4c40265bf314e43b0c2de2be3bbe1",
"id": 1
}
Thank you.
Comment