How to add multiple hosts in a particular host-collection using an API call in RedHat Satellite 6?

Solution Verified - Updated -

Issue

  • Unable to find out the proper API to add hosts into a host-collection.

  • Unable to determine the JSON structure of input data to perform the above task.

Environment

  • Red Hat Satellite 6.X

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content