# \#auth0-deploy-cli

**URL:** https://community.auth0.com/tag/auth0-deploy-cli/1451.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [Auth0-deploy-cli error: Problem deleting actions BadRequestError Status code: 400 "message": "Invalid Argument"](https://community.auth0.com/t/auth0-deploy-cli-error-problem-deleting-actions-badrequesterror-status-code-400-message-invalid-argument/202727)

<div class="topic-metadata">

**Author:** [@seb.dtrg](https://community.auth0.com/u/seb.dtrg)\
**Replies:** 1\
**Last updated:** [August 21, 2026, 5:46pm UTC](https://community.auth0.com/t/auth0-deploy-cli-error-problem-deleting-actions-badrequesterror-status-code-400-message-invalid-argument/202727 "2026-08-21T17:46:26Z")

</div>

Ive encountered an error with the auth0-deploy-cli tool: 400 Deploy error with deleting Actions even though the management API has deletion scope. I added the delete:actions scope to the Auth0 API for nb-auth0 deploy CL…

---

## [Missing things in the target tenant after a0deploy import](https://community.auth0.com/t/missing-things-in-the-target-tenant-after-a0deploy-import/191627)

<div class="topic-metadata">

**Author:** [@megurroladiez](https://community.auth0.com/u/megurroladiez)\
**Replies:** 1\
**Last updated:** [September 9, 2025, 7:25am UTC](https://community.auth0.com/t/missing-things-in-the-target-tenant-after-a0deploy-import/191627 "2025-09-09T07:25:59Z")

</div>

Hello everyone I’m trying to import the content from a dev tenant to a prod one. I’m using a0deploy for this. Apparently, after running export and checking the directory containing the exported content, everything is …

---

## [Deployment across different tenants best practice](https://community.auth0.com/t/deployment-across-different-tenants-best-practice/90282)

<div class="topic-metadata">

**Author:** [@cameron4](https://community.auth0.com/u/cameron4)\
**Replies:** 2\
**Last updated:** [April 7, 2025, 6:42pm UTC](https://community.auth0.com/t/deployment-across-different-tenants-best-practice/90282 "2025-04-07T18:42:42Z")

</div>

We are planning to try to follow the general recommended approach for deployment. We are planning on 4 Auth0 tenants: dev, test, staging, prod. These tenants will have small differences (a few extra applications in prod,…

---

## [Script export of user login information via the User Import Export extension](https://community.auth0.com/t/script-export-of-user-login-information-via-the-user-import-export-extension/133850)

<div class="topic-metadata">

**Author:** [@donald.collins](https://community.auth0.com/u/donald.collins)\
**Replies:** 2\
**Last updated:** [May 14, 2024, 8:01pm UTC](https://community.auth0.com/t/script-export-of-user-login-information-via-the-user-import-export-extension/133850 "2024-05-14T20:01:12Z")

</div>

Hi Community, We regularly use the User Import Export Extension (version 2.5) to export information about users and last\_login, logins\_count etc… The GUI interface is excellent but we’d like to script that action vs doi…

---

## [Auth0 Actions Global Variables](https://community.auth0.com/t/auth0-actions-global-variables/112880)

<div class="topic-metadata">

**Author:** [@yashnitin.thakre](https://community.auth0.com/u/yashnitin.thakre)\
**Replies:** 2\
**Last updated:** [August 29, 2025, 5:54pm UTC](https://community.auth0.com/t/auth0-actions-global-variables/112880 "2025-08-29T17:54:14Z")

</div>

Hi all, I was trying to migrate Rules to Actions and I felt the need of having global variables for my actions. I realise from previous answers that we can use action secrets for this purpose. But as far as I know, secre…

---

## [Importing just a single action across tenants using deploy-cli](https://community.auth0.com/t/importing-just-a-single-action-across-tenants-using-deploy-cli/123019)

<div class="topic-metadata">

**Author:** [@margarita.lukjanska](https://community.auth0.com/u/margarita.lukjanska)\
**Replies:** 1\
**Last updated:** [December 20, 2023, 4:44pm UTC](https://community.auth0.com/t/importing-just-a-single-action-across-tenants-using-deploy-cli/123019 "2023-12-20T16:44:31Z")

</div>

I did the export of actions from dev tenant using the following config.json: { "AUTH0\_DOMAIN": "\<domain\>", "AUTH0\_CLIENT\_ID": "\<client\>", "AUTH0\_ALLOW\_DELETE": false, "AUTH0\_INCLUDED\_ONLY": \["actions"\] …

---

## [Actions created via Auth0 Deploy CLI comes with legacy badge](https://community.auth0.com/t/actions-created-via-auth0-deploy-cli-comes-with-legacy-badge/90189)

<div class="topic-metadata">

**Author:** [@ravinder.sandhu](https://community.auth0.com/u/ravinder.sandhu)\
**Replies:** 5\
**Last updated:** [January 8, 2024, 12:47pm UTC](https://community.auth0.com/t/actions-created-via-auth0-deploy-cli-comes-with-legacy-badge/90189 "2024-01-08T12:47:10Z")

</div>

actions: - name: login-claims-user code: /actions/login-claims-user/myaction.js dependencies: - name: auth0 version: 2.42.0 deployed: true secrets: - name: domain value: mydo…

---

## [Is AUTH0\_API\_MAX\_RETRIES still supported?](https://community.auth0.com/t/is-auth0-api-max-retries-still-supported/105011)

<div class="topic-metadata">

**Author:** [@cmcgowan](https://community.auth0.com/u/cmcgowan)\
**Replies:** 2\
**Last updated:** [April 21, 2023, 5:20pm UTC](https://community.auth0.com/t/is-auth0-api-max-retries-still-supported/105011 "2023-04-21T17:20:15Z")

</div>

I am trying to update the version of the Auth0 Deploy CLI my team uses. I noticed that our config uses a particular setting AUTH0\_API\_MAX\_RETRIES which is no longer documented as an option. However, the source code still…

---

## [Export users with auth0-deploy-cli](https://community.auth0.com/t/export-users-with-auth0-deploy-cli/89572)

<div class="topic-metadata">

**Author:** [@bolino](https://community.auth0.com/u/bolino)\
**Replies:** 4\
**Last updated:** [December 26, 2022, 11:29pm UTC](https://community.auth0.com/t/export-users-with-auth0-deploy-cli/89572 "2022-12-26T23:29:53Z")

</div>

Hi, I’m new to auth0 and quite lost. I created two tenants, one for staging, that I’ve been using successfully for testing the past two months with a SPA app, and one for production, that I will need to deploy soon. No…

---

## [Application showing a duplicated client\_id and client\_secret after copying tenant with auth0-deploy-cli](https://community.auth0.com/t/application-showing-a-duplicated-client-id-and-client-secret-after-copying-tenant-with-auth0-deploy-cli/94089)

<div class="topic-metadata">

**Author:** [@nick.silvestri](https://community.auth0.com/u/nick.silvestri)\
**Replies:** 1\
**Last updated:** [November 9, 2022, 11:51pm UTC](https://community.auth0.com/t/application-showing-a-duplicated-client-id-and-client-secret-after-copying-tenant-with-auth0-deploy-cli/94089 "2022-11-09T23:51:39Z")

</div>

I used the auth0-deploy-cli tool to export one tenant and import it into a brand-new tenant for use with a staging environment. When I was adjusting the client\_id and client\_secret values of the new applications to match…

---

## [Using a0deploy to set prompts](https://community.auth0.com/t/using-a0deploy-to-set-prompts/87720)

<div class="topic-metadata">

**Author:** [@sean.mclemon1](https://community.auth0.com/u/sean.mclemon1)\
**Replies:** 2\
**Last updated:** [July 27, 2022, 12:38pm UTC](https://community.auth0.com/t/using-a0deploy-to-set-prompts/87720 "2022-07-27T12:38:57Z")

</div>

Will Vedder implemented some requested functionality in the a0deploy cli tool which allows you to manage prompts (this issue, this PR). This was really appreciated, however I’m having trouble when I try to integrate the …

---

## [Unable to enable Phone-message via auth0-deploy-cli](https://community.auth0.com/t/unable-to-enable-phone-message-via-auth0-deploy-cli/80874)

<div class="topic-metadata">

**Author:** [@akberiqbal](https://community.auth0.com/u/akberiqbal)\
**Replies:** 2\
**Last updated:** [April 6, 2022, 1:03pm UTC](https://community.auth0.com/t/unable-to-enable-phone-message-via-auth0-deploy-cli/80874 "2022-04-06T13:03:28Z")

</div>

Please include the following information in your post: Which SDK this is regarding: auth0-deploy-cli SDK Version: e.g. 7.5.2 Platform Version: e.g. Node 14 Code Snippets/Error Messages/Supporting Details/Screenshots…

---

## [Deploy CLI manage WebAuthn factors settings](https://community.auth0.com/t/deploy-cli-manage-webauthn-factors-settings/78459)

<div class="topic-metadata">

**Author:** [@losik.dev](https://community.auth0.com/u/losik.dev)\
**Replies:** 4\
**Last updated:** [March 17, 2022, 7:17am UTC](https://community.auth0.com/t/deploy-cli-manage-webauthn-factors-settings/78459 "2022-03-17T07:17:38Z")

</div>

Hello, According to this document WebAuthn with Security Keys can be configured for MFA using the Dashboard. I need to use the Auth0 deploy CLI for this task. I was able to enable this factor by creating …/guardian/fac…

---

## [Import/Export API Scopes between tenants](https://community.auth0.com/t/import-export-api-scopes-between-tenants/79588)

<div class="topic-metadata">

**Author:** [@sumit.dey](https://community.auth0.com/u/sumit.dey)\
**Replies:** 1\
**Last updated:** [March 9, 2022, 10:01pm UTC](https://community.auth0.com/t/import-export-api-scopes-between-tenants/79588 "2022-03-09T22:01:13Z")

</div>

Feature: Import and Export API Scopes between tenants. Description: I would love to have the option to bulk export and import API Scopes between tenants. Use-case: Currently, its time consuming and error prone(due to m…

---

## [A0deploy - unable to skip deploying organizations by not including organizations entry in the tenant yaml](https://community.auth0.com/t/a0deploy-unable-to-skip-deploying-organizations-by-not-including-organizations-entry-in-the-tenant-yaml/77075)

<div class="topic-metadata">

**Author:** [@billyf](https://community.auth0.com/u/billyf)\
**Replies:** 4\
**Last updated:** [January 27, 2022, 6:23pm UTC](https://community.auth0.com/t/a0deploy-unable-to-skip-deploying-organizations-by-not-including-organizations-entry-in-the-tenant-yaml/77075 "2022-01-27T18:23:59Z")

</div>

Stack auth0-deploy-cli: 7.3.2 Nodejs: 14.16.1 Issue The auth0 import will always read all the organizations in the tenant and generate a change plan, regardless of whether the organizations entry is in the tenant yaml …

---

## [A0deploy --no-env not working](https://community.auth0.com/t/a0deploy-no-env-not-working/74179)

<div class="topic-metadata">

**Author:** [@r.cauquil](https://community.auth0.com/u/r.cauquil)\
**Replies:** 1\
**Last updated:** [December 3, 2021, 11:42pm UTC](https://community.auth0.com/t/a0deploy-no-env-not-working/74179 "2021-12-03T23:42:43Z")

</div>

Stack auth0-deploy-cli: 7.3.1 Nodejs: 16.13.0 & 14.16.1 Objective Importing/Exporting different tenants (dev, staging) configuration from same project. Issue By default, the tool merges with your current environment …

---

## [Deploy CLI - how to exclude client redirect URL's](https://community.auth0.com/t/deploy-cli-how-to-exclude-client-redirect-urls/74129)

<div class="topic-metadata">

**Author:** [@bill.white](https://community.auth0.com/u/bill.white)\
**Replies:** 1\
**Last updated:** [December 2, 2021, 6:34pm UTC](https://community.auth0.com/t/deploy-cli-how-to-exclude-client-redirect-urls/74129 "2021-12-02T18:34:50Z")

</div>

When deploying from our preprod tenant to the production tenant, I want to avoid overwriting every application’s redirect URL, callback URL, etc. and keep the values currently in each production application. What syntax…

---

## [Env and keyword mapping](https://community.auth0.com/t/env-and-keyword-mapping/73726)

<div class="topic-metadata">

**Author:** [@kevin.shrestha](https://community.auth0.com/u/kevin.shrestha)\
**Replies:** 1\
**Last updated:** [November 25, 2021, 7:01pm UTC](https://community.auth0.com/t/env-and-keyword-mapping/73726 "2021-11-25T19:01:29Z")

</div>

Hello, I’m trying to set up a JSON config for a dev environment and later pushing towards a staging env but I’m getting errors when importing/exporting. Command: a0deploy import --config\_file config.json --input\_file…

---

## [Is it possible to import Action Secrets by auth0-deploy-cli](https://community.auth0.com/t/is-it-possible-to-import-action-secrets-by-auth0-deploy-cli/70453)

<div class="topic-metadata">

**Author:** [@hayashi-ay](https://community.auth0.com/u/hayashi-ay)\
**Replies:** 5\
**Last updated:** [October 4, 2021, 9:07am UTC](https://community.auth0.com/t/is-it-possible-to-import-action-secrets-by-auth0-deploy-cli/70453 "2021-10-04T09:07:05Z")

</div>

Hi there, This document says auth0-deploy-cli can import the configuration of Actions. I wonder it includes Action Secrets. If so, I want to know the format to import. The following is a sample configuration of expor…

---

## [Difference in dump for same app in two different tenants](https://community.auth0.com/t/difference-in-dump-for-same-app-in-two-different-tenants/68513)

<div class="topic-metadata">

**Author:** [@emil.enemaerke](https://community.auth0.com/u/emil.enemaerke)\
**Replies:** 4\
**Last updated:** [September 1, 2021, 2:57pm UTC](https://community.auth0.com/t/difference-in-dump-for-same-app-in-two-different-tenants/68513 "2021-09-01T14:57:55Z")

</div>

Hi We are having a dev and production tenant that we keeping in sync. When dumping config from both tenants there is a difference in the json file for two identical applications. From development tenant it looks like: …

---

## [Failure during deployment using auth0-deploy-cli](https://community.auth0.com/t/failure-during-deployment-using-auth0-deploy-cli/50737)

<div class="topic-metadata">

**Author:** [@auth0auth](https://community.auth0.com/u/auth0auth)\
**Replies:** 3\
**Last updated:** [October 30, 2020, 10:03am UTC](https://community.auth0.com/t/failure-during-deployment-using-auth0-deploy-cli/50737 "2020-10-30T10:03:26Z")

</div>

While deploying the rules and other config using auth0-deploy it started to fail after Retrieving prompts step. It doesn’t give the exact error. How can we debug this? 2020-09-29T04:22:06.291Z - e\[32minfoe\[39m: Retr…

---

## [Setting hook secrets using auth0-deploy-cli](https://community.auth0.com/t/setting-hook-secrets-using-auth0-deploy-cli/37350)

<div class="topic-metadata">

**Author:** [@Jelle](https://community.auth0.com/u/Jelle)\
**Replies:** 5\
**Last updated:** [February 10, 2020, 2:44pm UTC](https://community.auth0.com/t/setting-hook-secrets-using-auth0-deploy-cli/37350 "2020-02-10T14:44:38Z")

</div>

Hi, Im trying to add hook secrets to my environment using the auth0-deploy-cli tool. The documentation on this is not (yet) complete and I dont know the correct format/ syntax. What I’ve got so far; Directory setup: R…
