python-foreman icon indicating copy to clipboard operation
python-foreman copied to clipboard

Fix issue with some resource types not updating (eg. 'hostgroup').

Open stana opened this issue 7 years ago • 0 comments

For update api PUT requests, Foreman is expecting params to be sent inside 'resource type' dict (similar to 'create'). For example -

{
  "id": <resource id>,
  "<resource type>": {
    "param1": "value",
    "param2": "value",
    ...
    "paramN": "value"
  }
}

stana avatar Nov 12 '18 22:11 stana