Add host with Rest API


There should not be any difference between the api and the web ui if you've


··· On Mon, Dec 27, 2010 at 12:14 PM, Moty wrote:

Hi all ,

I seems that when adding host through web interface fields like “mac” and
"ip" address (and more fields) are not mandatory
and when adding a host through the Rest API these fields are mandatory.

Is it a bug or a feature ?

Is there a way to make them optional also through API ?


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at


your tip helped …

:unattended: false solve it