This is the documentation page for an unsupported version of Zabbix.
Is this not what you were looking for? Switch to the current version or choose one from the drop-down menu.

Zabbix API changes in 4.2

4.2.7

valuemap

Changes:
ZBX-3783 valuemap.get: added strict validation of input parameters

4.2.2

alert

Changes:
ZBX-11272 alert.get: added support of two new options mediatypeid and sendto in the sortfield parameter

4.2.1

discoveryrule

Bug fixes:
ZBX-10861 discoveryrule.create, discoveryrule.update: changed "username" and "password" fields to optional for HTTP agent type discovery rules and using authentication

httptest

Bug fixes:
ZBX-10861 httptest.create, httptest.update: changed "http_user" and "http_password" fields to optional when using authentication

item

Bug fixes:
ZBX-10861 item.create, item.update: changed "username" and "password" fields to optional for HTTP agent type items and using authentication

itemprototype

Bug fixes:
ZBX-10861 itemprototype.create, itemprototype.update: changed "username" and "password" fields to optional for HTTP agent type item prototypes and using authentication