deleteconsolecomponents (Release 9.2.26.0)

API Name

deleteconsolecomponents

Description

API to delete the specified list of components from the consolecomponents list.

Note: This API will not delete component from any agent.

REST Methods

DELETE

Permission

managedComponents

Precondition

Server Manager and Agent must be running.

Input Params

ComponentNames

Sample Request

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

Return

HTTP status 200 is returned.

Sample Response

200 OK

Exception

400, 403 or 500 for error.