[comment]: # ({a4be9f12-a4be9f12})
# Zabbix API changes in 5.4

[comment]: # ({/a4be9f12-a4be9f12})

[comment]: # ({aa57b37b-aa57b37b})
### 5.4.5

[comment]: # ({/aa57b37b-aa57b37b})

[comment]: # ({3f0857ba-5f05334f})
#### usergroup

Bug fixes:<br>
[ZBX-19857](https://support.zabbix.com/browse/ZBX-19857)
`usergroup.get`: dropped support for the non-working option
`web_gui_access`

[comment]: # ({/3f0857ba-5f05334f})

[comment]: # ({702c4b95-702c4b95})
### 5.4.4

[comment]: # ({/702c4b95-702c4b95})

[comment]: # ({a3040290-53c20e7a})
#### host

Changes:<br>
[ZBXNEXT-6566](https://support.zabbix.com/browse/ZBXNEXT-6566)
`host.create`, `host.update`: added strict validation of the user
macros

[comment]: # ({/a3040290-53c20e7a})

[comment]: # ({055d393c-abf92e50})
#### hostprototype

Changes:<br>
[ZBXNEXT-6566](https://support.zabbix.com/browse/ZBXNEXT-6566)
`hostprototype.create`, `hostprototype.update`: added strict validation
of the user macros

[comment]: # ({/055d393c-abf92e50})

[comment]: # ({aed0e25a-0fcdd068})
#### template

Changes:<br>
[ZBXNEXT-6566](https://support.zabbix.com/browse/ZBXNEXT-6566)
`template.create`, `template.update`: added strict validation of the
user macros

[comment]: # ({/aed0e25a-0fcdd068})

[comment]: # ({534f5468-48e53ef1})
#### usermacro

Changes:<br>
[ZBXNEXT-6566](https://support.zabbix.com/browse/ZBXNEXT-6566)
`usermacro.get`: added new `inherited` parameter<br>
[ZBXNEXT-6566](https://support.zabbix.com/browse/ZBXNEXT-6566)
`usermacro.create`, `usermacro.update`: added strict validation

[comment]: # ({/534f5468-48e53ef1})

[comment]: # ({7568c1f2-7568c1f2})
### 5.4.2

[comment]: # ({/7568c1f2-7568c1f2})

[comment]: # ({d78da077-90acdfbc})
#### graph

Bug fixes:<br>
[ZBX-19200](https://support.zabbix.com/browse/ZBX-19200) `graph.get`
removed `discover` field from request<br>
[ZBX-19388](https://support.zabbix.com/browse/ZBX-19388) `graph.update`:
fixed method to properly change values on template graph instead of
making a new inherited graph if case user has no permissions to child
host or template

[comment]: # ({/d78da077-90acdfbc})

[comment]: # ({24ea7bfa-547f4eda})
#### graphprototype

Bug fixes:<br>
[ZBX-19388](https://support.zabbix.com/browse/ZBX-19388)
`graphprototype.update`: fixed method to properly change values on
template graph prototype instead of making a new inherited graph
prototype if case user has no permissions to child host or template

[comment]: # ({/24ea7bfa-547f4eda})

[comment]: # ({d1c0164f-cc2e50e0})
#### host

[ZBX-19200](https://support.zabbix.com/browse/ZBX-19200) `host.get`
removed `discover` field from request

[comment]: # ({/d1c0164f-cc2e50e0})

[comment]: # ({98f28793-99e45039})
#### item

[ZBX-19200](https://support.zabbix.com/browse/ZBX-19200) `item.get`
removed `discover` field from request

[comment]: # ({/98f28793-99e45039})

[comment]: # ({c0693fbb-d357cafd})
#### mediatype

Changes:<br>
[ZBXNEXT-6582](https://support.zabbix.com/browse/ZBXNEXT-6582) increased
`maxattempts` from 10 to 100 and `attempt_interval` from 60s to 1h

[comment]: # ({/c0693fbb-d357cafd})

[comment]: # ({4fa4fff8-afd6fcbe})
#### task

Bug fixes:<br>
[ZBX-18941](https://support.zabbix.com/browse/ZBX-18941) `task.create`:
improved error message by adding item or discovery rule and host name if
any of them are not monitored for task with type value `6`

[comment]: # ({/4fa4fff8-afd6fcbe})

[comment]: # ({2518ccc4-1f16941f})
#### template

[ZBX-19200](https://support.zabbix.com/browse/ZBX-19200) `template.get`
removed `discover` field from request

[comment]: # ({/2518ccc4-1f16941f})

[comment]: # ({8625c01c-6e973699})
#### trigger

Bug fixes:<br>
[ZBX-19200](https://support.zabbix.com/browse/ZBX-19200) `trigger.get`
removed `discover` field from request<br>
[ZBX-19424](https://support.zabbix.com/browse/ZBX-19424)
`trigger.create`: fixed trigger creation on PostgreSQL with host name
consisting of only numbers

[comment]: # ({/8625c01c-6e973699})

[comment]: # ({73ccc472-73ccc472})
### 5.4.1

[comment]: # ({/73ccc472-73ccc472})

[comment]: # ({b33c9ee7-a67df379})
#### configuration

Bug fixes:<br>
[ZBX-8999](https://support.zabbix.com/browse/ZBX-8999)
`configuration.export` fixed exporting of images separately from other
objects

[comment]: # ({/b33c9ee7-a67df379})
