RESTful Web Services Endpoint Not Working - Delete Single Probe Configuration Value
search cancel

RESTful Web Services Endpoint Not Working - Delete Single Probe Configuration Value

book

Article ID: 191425

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

I am using the UIM RESTful webservices probe to config an aws probe. When I go to use the "Delete Single Probe Configuration Value" I am getting the 204 response however when I go look it does not remove the resources key or any thing under that section. I also went and tried to delete one of the resource specific values and the same thing I get a 204 response however when I go look at the raw config of the probe nothing is deleted the key and value are still there.

The documentation I am using is the following:

http://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/ca-unified-infrastructure-management-probes/GA/probe-development-tools/restful-web-services/webservices-rest-apis/webservices-rest-call-reference/probe-calls.html#concept.dita_c3028f32840f341feb09336b22314670020c56cc_DeleteaProbeConfigurationSingle

If you look at the probe calls you will see the following 2 in the list:


Neither of those are working, and also the documentation itself is contradicting if you look at it the format says the endpoint looks like this:

/probe/config /{domain}/{hub}/{robot}/{probe}/{section+key}

Then if you scroll down a bit you will see this JSON example"
DELETE /rest/probe/chris-dev/primaryhub/nb-1538/cdm/config/setup/resttest HTTP/1.1 Accept: application/json
The endpoint above stats with /rest/probe/........ as to where the first format example above that in your example is shows the endpoint as /probe/CONFIG/.......
webservices_rest v20.10
So what I need to do is I need to be able to delete from the aws probe on a robot the resources key and all keys underneath it with a rest API endpoint. Could you please tell me the proper endpoint and let me know how to make it work, as I have tried many different ways and I get the 204 response but nothing gets deleted. Also I am using an administrator level account so I believe I have the proper permissions.

Environment

Release : 20.1

Component : UIM - WEBSERVICES_REST

Resolution

If you want to "delete" - send a blank payload first.