The apipie docs for unassociating subscriptions from content hosts is incorrect: the 'subscriptions' array parameter is required and does not align with the other route suggestions.
Created from redmine issue http://projects.theforeman.org/issues/9984
I would like to see this in 6.1 as it prevents apipie from removing subscriptions from content-hosts (part of hammer-cli-csv for export from SAM-1 and import to Sat-6). No other hammer commands use this route so risk minimal for fix.
Moving to POST since upstream bug http://projects.theforeman.org/issues/9984 has been closed ------------- Thomas McKay Applied in changeset commit:katello|2cf41d8e184f73d909a55ae89b34ac72d03f275f.
hi please provide verifications steps thanks
To verify change is included, visit /apidoc/v2 and note that the subscriptions destroy does not have the 'required' flag on id See https://github.com/Katello/katello/pull/5162/files
VERIFIED: rpm -qa | grep foreman ibm-hs22-02.rhts.eng.brq.redhat.com-foreman-proxy-client-1.0-1.noarch foreman-gce-1.7.2.18-1.el7sat.noarch foreman-postgresql-1.7.2.18-1.el7sat.noarch foreman-compute-1.7.2.18-1.el7sat.noarch ruby193-rubygem-foreman_discovery-2.0.0.12-1.el7sat.noarch rubygem-hammer_cli_foreman_discovery-0.0.1.8-1.el7sat.noarch foreman-libvirt-1.7.2.18-1.el7sat.noarch foreman-vmware-1.7.2.18-1.el7sat.noarch ruby193-rubygem-foreman-redhat_access-0.1.0-1.el7sat.noarch ruby193-rubygem-foreman-tasks-0.6.12.4-1.el7sat.noarch rubygem-hammer_cli_foreman_bootdisk-0.1.2.6-1.el7sat.noarch ruby193-rubygem-foreman_bootdisk-4.0.2.12-1.el7sat.noarch ruby193-rubygem-foreman_docker-1.2.0.10-1.el7sat.noarch rubygem-hammer_cli_foreman-0.1.4.10-1.el7sat.noarch foreman-debug-1.7.2.18-1.el7sat.noarch foreman-proxy-1.7.2.4-1.el7sat.noarch ibm-hs22-02.rhts.eng.brq.redhat.com-foreman-client-1.0-1.noarch ibm-hs22-02.rhts.eng.brq.redhat.com-foreman-proxy-1.0-2.noarch foreman-1.7.2.18-1.el7sat.noarch ruby193-rubygem-foreman_hooks-0.3.7-2.el7sat.noarch rubygem-hammer_cli_foreman_tasks-0.0.3.4-1.el7sat.noarch ruby193-rubygem-foreman_gutterball-0.0.1.9-1.el7sat.noarch foreman-selinux-1.7.2.13-1.el7sat.noarch puppet-foreman_scap_client-0.3.3-8.el7sat.noarch foreman-ovirt-1.7.2.18-1.el7sat.noarch steps visit /apidoc/v2 and note that the subscriptions destroy does not have the 'required' flag on id . id is optional
This bug is slated to be released with Satellite 6.1.
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.