curl --location -g --request POST 'https://localhost:8092/json-rpc/instance/rename' \
--header 'Content-Type: application/json' \
--data-raw '{
"command": "instance",
"subcommand": "saveName",
"instance": 2,
"name": "My instance'\''s new name",
"tan": 4711
}'
{
"command": "instance-saveName",
"success": true,
"tan": 4711
}