# Delete actions from tenant.yaml

**URL:** <https://community.auth0.com/t/delete-actions-from-tenant-yaml/118192>\
**Category:** Get Help\
**Tags:** extensibility, deploy-cli\
**Created:** [October 10, 2023, 2:40pm UTC](https://community.auth0.com/t/delete-actions-from-tenant-yaml/118192 "2023-10-10T14:40:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![denisa.corbu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/denisa.corbu/32/50931_2.png) [@denisa.corbu](https://community.auth0.com/u/denisa.corbu)\
**Post date:** [October 10, 2023, 2:40pm UTC](https://community.auth0.com/t/delete-actions-from-tenant-yaml/118192/1 "2023-10-10T14:40:47Z")

</div>

I am trying to remove actions from tenant.yaml, by adding :  
actions: []  
triggers: []

But when I’m deploying the tenant.yaml, I get:

```auto
2023-10-10T14:16:56.154Z - error: Problem running command import during stage processChanges when processing type actions
2023-10-10T14:16:56.154Z - error: Problem deleting actions {"id":"id","name":"action name"}
Bad Request: Query validation error: 'Expected type boolean but found type string' on property force (Force action deletion detaching bindings).
2023-10-10T14:16:56.155Z - debug: Error: Problem deleting actions {"id":"id","name":"action name"}
Bad Request: Query validation error: 'Expected type boolean but found type string' on property force (Force action deletion detaching bindings).
    at /usr/local/lib/node_modules/auth0-deploy-cli/lib/tools/auth0/handlers/default.js:167:39
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

```

The problem is I cannot find in the docs where I can set in the tenant.yaml force=true to delete an action. Can you help me with an example?

---

<div class="post-metadata">

**Author:** ![nathan.jenkins](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nathan.jenkins/32/44577_2.png) [@nathan.jenkins](https://community.auth0.com/u/nathan.jenkins)\
**Post date:** [October 10, 2023, 7:21pm UTC](https://community.auth0.com/t/delete-actions-from-tenant-yaml/118192/2 "2023-10-10T19:21:40Z")

</div>

Hi @denisa.corbu , welcome to the Auth0 Community!

We have these resources in our docs, I am just checking you are following the information provided here -  
[Exclude Resources from Management](https://auth0.com/docs/deploy-monitor/deploy-cli-tool/excluding-resources-from-management#empty) - This will need [AUTH0\_ALLOW\_DELETE](https://auth0.com/docs/deploy-monitor/deploy-cli-tool/configuring-the-deploy-cli#auth0_allow_delete) set to True.  
[Configuration File Example](https://auth0.com/docs/deploy-monitor/deploy-cli-tool/configuring-the-deploy-cli#configuration-file).  
Hope this helps, thanks

---

<div class="post-metadata">

**Author:** ![denisa.corbu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/denisa.corbu/32/50931_2.png) [@denisa.corbu](https://community.auth0.com/u/denisa.corbu)\
**Post date:** [October 11, 2023, 7:46am UTC](https://community.auth0.com/t/delete-actions-from-tenant-yaml/118192/3 "2023-10-11T07:46:41Z")

</div>

Hello @nathan.jenkins ,  
The solution you gave, helped indeed. Thank you! 🙂

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [October 25, 2023, 7:47am UTC](https://community.auth0.com/t/delete-actions-from-tenant-yaml/118192/4 "2023-10-25T07:47:25Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
