Hi! I’m trying to update a setting value using the API. I’m using this call:
curl -X POST \
-u admin:admin \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{"id":"1as!agent.instance.register.url","name":"agent.instance.register.url", "value":"http://172.16.16.126:8080", "activeValue":"http://172.16.16.126:8080"}' \
'http://172.16.16.126:8080/v1/activesettings/1as!agent.instance.register.url'
but it gives me:
{"id":"792aed0e-152c-40e7-bfd7-6f76ff0032b6","type":"error","links":{},"actions":{},"status":405,"code":"Method not allowed","message":"Method not allowed","detail":null}
Which should be the correct url to edit this setting?
Thanks!