# Importing just a single action across tenants using deploy-cli

**URL:** <https://community.auth0.com/t/importing-just-a-single-action-across-tenants-using-deploy-cli/123019>\
**Category:** Get Help\
**Tags:** auth0-deploy-cli, extensions\
**Created:** [December 13, 2023, 5:14pm UTC](https://community.auth0.com/t/importing-just-a-single-action-across-tenants-using-deploy-cli/123019 "2023-12-13T17:14:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![margarita.lukjanska](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/margarita.lukjanska/32/50485_2.png) [@margarita.lukjanska](https://community.auth0.com/u/margarita.lukjanska)\
**Post date:** [December 13, 2023, 5:14pm UTC](https://community.auth0.com/t/importing-just-a-single-action-across-tenants-using-deploy-cli/123019/1 "2023-12-13T17:14:48Z")

</div>

I did the export of actions from `dev` tenant using the following config.json:

```auto
{
    "AUTH0_DOMAIN": "<domain>",
    "AUTH0_CLIENT_ID": "<client>",
    "AUTH0_ALLOW_DELETE": false,
    "AUTH0_INCLUDED_ONLY": ["actions"]
  }

```

and in the `tenant.yaml` I’ve got all the actions.

Now my question is -

- if I remove some of the actions from the `tenant.yaml`,
- do the import to the `dev` environment back

What will happen?  
Will it

- override `dev` tenant state with the `tenant.yaml` (and delete the actions that are not there anymore) OR
- it will override/create (if does not exist) only the actions that are in the `tenant.yaml`

Thanks!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [December 20, 2023, 4:44pm UTC](https://community.auth0.com/t/importing-just-a-single-action-across-tenants-using-deploy-cli/123019/3 "2023-12-20T16:44:31Z")

</div>

Hi @margarita.lukjanska,

Welcome to the Auth0 Community!

Using the [Configure the Deploy CLI](https://auth0.com/docs/deploy-monitor/deploy-cli-tool/configure-the-deploy-cli#auth0_allow_delete) `"AUTH0_ALLOW_DELETE": false,` config should prevent deletion of resources in the tenant.

Regardless, I would suggest you try changes in a test or staging environment to confirm behavior before doing anything in production.

---

<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:** [January 3, 2024, 4:44pm UTC](https://community.auth0.com/t/importing-just-a-single-action-across-tenants-using-deploy-cli/123019/4 "2024-01-03T16:44:56Z")

</div>

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