Question

​Add multiple Host via Rest API v1

  • 20 October 2022
  • 2 replies
  • 125 views

Badge +1

  Hello,

I need to add multiple hosts, but when i try to send this request, it responds with a 400 (Bad parameters):

Works only with 1 host (200 code):

What is the correct way to add them?

Thanks for your help.


2 replies

Badge +1

Sorry for my post, i cant create it when i use the json syntax. But i can show the capture.

 

 

Badge +3

Hello,

As of today, the API doesn’t handle the addition of multiple hosts in single request. You need to send one request per host you want to create.

Feel free to suggest this feature in the idea section.

Reply