Project

General

Profile

Actions

Bug #21923

closed

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

Added by Ranjan Kumar about 7 years ago. Updated over 6 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

Also available in: Atom PDF