Project

General

Profile

Bug #21923

API endpoint for auto_attach/remove/add subscription in host bulk action is incorrect

Added by Ranjan Kumar almost 4 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
API
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

→ curl -u admin:<password> --request PUT --url https://host.example.com/api/hosts/bulk/subscriptions/auto_attach --header 'content-type: application/json' --data '{"organization_id": 1, "included": {"ids": [<host_id-1>,<host_id-2>]}}' {"displayMessage":"ActiveRecord::RecordNotFound","errors":["ActiveRecord::RecordNotFound"]}

Associated revisions

Revision d09f0730 (diff)
Added by Ranjan Kumar over 3 years ago

Fixes #21923 - Correct API endpoint for bulk action

History

#1 Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7107 added

#2 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) set to 284

#3 Updated by Ranjan Kumar over 3 years ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF