f50-admin). ubus: f50.system set_hostname.Authorization: ********************{
"name": "string"
}curl --location '/f50.system/set_hostname' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "string"
}'ok with data, or ok: false with a code (always HTTP 200; ubus itself only fails for a session or a missing object, as JSON-RPC errors).{
"data": null,
"ok": true
}