# How to delete action chains

**URL:** https://forums.suse.com/t/how-to-delete-action-chains/34334
**Category:** SUSE Multi Linux Manager
**Created:** [September 4, 2019, 3:16pm UTC](https://forums.suse.com/t/how-to-delete-action-chains/34334 "2019-09-04T15:16:11Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![bucks](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@bucks](https://forums.suse.com/u/bucks)
#### Post date: [September 4, 2019, 3:16pm UTC](https://forums.suse.com/t/how-to-delete-action-chains/34334/1 "2019-09-04T15:16:11Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![strahil-nikolov-dxc](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@strahil-nikolov-dxc](https://forums.suse.com/u/strahil-nikolov-dxc)
#### Post date: [September 15, 2019, 10:10am UTC](https://forums.suse.com/t/how-to-delete-action-chains/34334/2 "2019-09-15T10:10:11Z")

</div>

[QUOTE=bucks;58407]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.[/QUOTE]

Have you checked in UI ‘Schedule’ → ‘Action Chains’ ?

---

<div class="post-metadata">

### Author: ![mcalmer](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@mcalmer](https://forums.suse.com/u/mcalmer)
#### Post date: [September 16, 2019, 10:49am UTC](https://forums.suse.com/t/how-to-delete-action-chains/34334/3 "2019-09-16T10:49:15Z")

</div>

[QUOTE=bucks;58407]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.[/QUOTE]

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:

```auto
spaccmd api actionchain.deleteChain <label>
```
