deleteagentcomponents (Release 9.2.26.0)

API Name

deleteagentcomponents

Description

API to delete the specified list of components from the passed agent components list.

REST Methods

DELETE

Permission

managedComponents

Precondition

Server Manager and Agent must be running.

Input Params

agentHostName

jdeHome

ComponentNames

Sample Request

Deletes the specified componentNames or list of componentNames curl --location --request DELETE 'http://jdesmc.example.com.0.0.1:7101/manage/mgmtrestservice/deleteagentcomponents' \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic amRlX2FkbWluOmpkZV9hZG1pbg==' \ --header 'Cookie: SMCONSOLE_SSID=C1UfH4WkdQ2Jmfd-h-NYPd8hbLej9UoWOne48mH8TfvXUM0mYwx3!1498188726' \ --data '{ "agentHostName":"jdesmc.example.com", "jdeHome" : "C:\\jde_home_4\\SCFHA", "componentNames" : ["agentPackage7.jar", "E1_HTMLServer_9.2.8.5_02-21-2025_02_50.jar"] }' Deletes all components if componentNames is "ALL" curl --location --request DELETE 'http://jdesmc.example.com.0.0.1:7101/manage/mgmtrestservice/deleteagentcomponents' \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic amRlX2FkbWluOmpkZV9hZG1pbg==' \ --header 'Cookie: SMCONSOLE_SSID=C1UfH4WkdQ2Jmfd-h-NYPd8hbLej9UoWOne48mH8TfvXUM0mYwx3!1498188726' \ --data '{ "agentHostName":"jdesmc.example.com", "jdeHome" : "C:\\jde_home_4\\SCFHA", "componentNames" : ["ALL"] }'

Return

HTTP status 200 is returned.

Sample Response

200 OK

Exception

400, 403 or 500 for error.