Search found 2 matches
- Thu Oct 07, 2021 9:48 am
- Forum: Open Source Nagios Projects
- Topic: REST API - DELETE config/service config_name or host_name
- Replies: 1
- Views: 1892
Re: REST API - DELETE config/service config_name or host_nam
To answer myself... Input is host_name and service_description. Second option is incorrect in the help. Second version works, but with url as /config/service/<host_name>/<service_description> Whole URL should probably be encoded, in case your service description uses special characters... like : in ...
- Thu Oct 07, 2021 3:20 am
- Forum: Open Source Nagios Projects
- Topic: REST API - DELETE config/service config_name or host_name
- Replies: 1
- Views: 1892
REST API - DELETE config/service config_name or host_name
Hi, There are 2 REST API calls for DELETE config/service under Config Reference in Help section ( Nagios XI 5.7.4 - older version). 1. DELETE .../config/service? host_name =testapihost&service_description=PING&applyconfig=1 2. DELETE .../config/service/ <config_name> /<service_description>?a...