{
  "created_at": "2017-04-18 07:54:50 UTC",
  "updated_at": "2017-05-04 03:21:15 UTC",
  "id": 9,
  "match": "fqdn=zy-test.hs.komect.net",
  "value": {
    "proxyserver": {
      "server_name": [
        "www.xxx.com",
      ]
    }
  },
  "omit": false,
  "use_puppet_default": false
}
I would like to add more to the proxyserver item. But no matter how I call 
the API: 
PUT 
/api/smart_class_parameters/:smart_class_parameter_id/override_values/:id 
it returns 200 code but not updated.

I have even tried it with change "omit" to true like:
curl -k -u user:password -H "Accept: version=2,application/json" -H 
"Content-Type: application/json" -X PUT -d 
'{"override_value[match]":"omit","override_value[value]":"true"}' 
https://xxx.com/api/v2/smart_class_parameters/175/override_values/9
So please help on how to call this API? a curl example would be appreciated.
Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to