-
Incident report
-
Resolution: Fixed
-
Trivial
-
None
-
2.2.2
-
N/A
The current 2.2 documentation for the mediatype API, has a typo in the example, it lists the smtp_server as smtp_smtp_server (https://www.zabbix.com/documentation/2.2/manual/api/reference/mediatype/create)
{ "jsonrpc": "2.0", "method": "mediatype.create", "params": { "description": "E-mail", "type": 0, "smtp_smtp_server": "[email protected]", "smtp_helo": "company.com", "smtp_email": "[email protected]" }, "auth": "038e1d7b1735c6a5436ee9eae095879e", "id": 1 }