Project

General

Custom queries

Profile

Actions

Bug #21923

closed

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

Added by Ranjan Kumar over 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
API
Target version:
Difficulty:
Triaged:
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"]}

Actions #3

Updated by Ranjan Kumar over 7 years ago

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

Also available in: Atom PDF