PDA

View Full Version : How to delete action chains



bucks
04-Sep-2019, 13:16
Hi,

right now we have a couple of hundred action chains in SUMA. Now we want to delete them all. How could I do this. I found no spacecmd command to do this.

strahil-nikolov-dxc
15-Sep-2019, 08:10
Hi,

right now we have a couple of hundred action chains in SUMA. Now we want to delete them all. How could I do this. I found no spacecmd command to do this.

Have you checked in UI 'Schedule' -> 'Action Chains' ?

mcalmer
16-Sep-2019, 08:49
Hi,

right now we have a couple of hundred action chains in SUMA. Now we want to delete them all. How could I do this. I found no spacecmd command to do this.

spacecmd has a generic "api" call where you can call any XMLRPC function implemented in SUSE Manager.
The API has "actionchain.deleteChain" function which can be called that way. The command should look like:


spaccmd api actionchain.deleteChain <label>