Previous Topic: Identify ResourceNext Topic: Credentials Calls (/credentials)


Delete Resource

You can remove a resource representing an event source using DELETE. This call deletes the specified resource and halts event collection. The URI path is derived from the result of a /deploycollection call.

DELETE curl -u elm_user:elm_password -k -H "Accept: application/xml" "https://hostname:8443/rest/am/1//agentgroups/<groupid>/agents/<agentid>/connectors/<connid>/sources/<sourceid>

In your environment, replace the sample URI path "/agentgroups/<groupid>/agents/<agentid>/connectors/<connid>/sources/<sourceid>" with the path for the resource you want.

The call returns a confirmation (HTTP 200) when the deletion is complete.