Actions
Bug #26855
closedOrganization create API requires the org name twice
Description
According to https://theforeman.org/plugins/katello/3.11/api/apidoc/v2/organizations/create.html, to create an organization called "foo", you need to post the following to the server:
{"name":"foo","organization":{"name":"foo"}}
However, plain Foreman does not have this constraint (see https://theforeman.org/api/1.21/apidoc/v2/organizations/create.html) and accepts
{"organization":{"name":"foo"}}
Actions