# Deploy CLI - how to exclude client redirect URL's

**URL:** <https://community.auth0.com/t/deploy-cli-how-to-exclude-client-redirect-urls/74129>\
**Category:** Get Help\
**Tags:** auth0-deploy-cli\
**Created:** [December 2, 2021, 3:09pm UTC](https://community.auth0.com/t/deploy-cli-how-to-exclude-client-redirect-urls/74129 "2021-12-02T15:09:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bill.white](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bill.white/32/26557_2.png) [@bill.white](https://community.auth0.com/u/bill.white)\
**Post date:** [December 2, 2021, 3:09pm UTC](https://community.auth0.com/t/deploy-cli-how-to-exclude-client-redirect-urls/74129/1 "2021-12-02T15:09:01Z")

</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 would I use to exclude these URL’s using Deploy CLI?

– Bill

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [December 2, 2021, 6:34pm UTC](https://community.auth0.com/t/deploy-cli-how-to-exclude-client-redirect-urls/74129/3 "2021-12-02T18:34:50Z")

</div>

Hi @bill.white,

Thanks for reaching out to the Auth0 Community!

> [@bill.white](#):
>
> What syntax would I use to exclude these URL’s using Deploy CLI?

To avoid overwriting your application’s callback URL, you’ll need to remove the lines of code referencing the `callbacks` from your application in the _tenant.yaml_ file. See below.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/2/1/210492c1a1c13649e9fb21e3ac7083c00be86453.jpeg)

The same can be done for the application’s redirect URL or any other setting you would like to retain on the importing Tenant.

Hoped this helps!

Please let me know if you have any further questions.

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:** [December 17, 2021, 6:35pm UTC](https://community.auth0.com/t/deploy-cli-how-to-exclude-client-redirect-urls/74129/4 "2021-12-17T18:35:23Z")

</div>

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