Skip to main content
Solved

Update host via API

  • August 30, 2023
  • 1 reply
  • 80 views

Forum|alt.badge.img

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 

Best answer by omercier

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.

1 reply

omercier
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • Answer
  • September 1, 2023

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.