Solved

Update host via API

  • 30 August 2023
  • 1 reply
  • 50 views

Badge
  • Steward *
  • 0 replies

Hi, it's possible to edit host details via API? Especially i would like to update GPS coordinates.
I have latest version of Centreon.

 

Thanks 

icon

Best answer by omercier 1 September 2023, 09:39

View original

1 reply

Userlevel 4
Badge +12

Hi @lsa 

In the currently available versions, you can do that with our old v1 API : https://docs.centreon.com/docs/api/clapi/#setparam-12

In the upcoming 23.10 release you’ll be able to do it with a PATCH request with our v2 API.

Reply