Delete services via CURL command

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rambertnala
Posts: 70
Joined: Fri Feb 26, 2016 7:15 am

Delete services via CURL command

Post by rambertnala »

Hi friends

I am trying to delete services and hosts at Nagios XI

Problem is services names contains whitespaces and i can not delete services with curl -XDELETE

Is there any solution for it???

Regards
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Delete services via CURL command

Post by gsmith »

Hi there,

Please use %20 to represent a space in the API call.

Thanks
Locked