Zabbix 6.2

Hey guys.
I'm trying to update a global macro using the Zabbix API.
For testing, I used the "usermacro.updateglobal" method.

The script:
Code:
#!/bin/bash
# Zabbix Auth
ZABBIX_URL="https://zabbix.url/api_jsonrpc.php"
...