Skip to content

Conversation

@stana
Copy link

@stana stana commented Nov 12, 2018

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"
  }
}

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"
      }
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant