# How to disable OTP email when creating new passwordless user

**URL:** <https://community.auth0.com/t/how-to-disable-otp-email-when-creating-new-passwordless-user/148081>\
**Category:** Get Help\
**Tags:** users, management-api\
**Created:** [September 26, 2024, 9:25pm UTC](https://community.auth0.com/t/how-to-disable-otp-email-when-creating-new-passwordless-user/148081 "2024-09-26T21:25:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bsoutendijk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bsoutendijk/32/60881_2.png) [@bsoutendijk](https://community.auth0.com/u/bsoutendijk)\
**Post date:** [September 26, 2024, 9:25pm UTC](https://community.auth0.com/t/how-to-disable-otp-email-when-creating-new-passwordless-user/148081/1 "2024-09-26T21:25:14Z")

</div>

How can I totally disable the OTP email when creating new passwordless user using the management api?

I am trying to create a passwordless identity connection for all my existing users in the Username-Password-Database so that we can use Passwordless login in our app.

---

<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:** [October 2, 2024, 4:21pm UTC](https://community.auth0.com/t/how-to-disable-otp-email-when-creating-new-passwordless-user/148081/3 "2024-10-02T16:21:08Z")

</div>

Hi @bsoutendijk,

Welcome to the Auth0 Community!

I have tested this myself and was unable to reproduce the same behavior you encountered. When I created a passwordless email user with the Management API, I did not receive a login OTP code. Instead, I only received a welcome email.

As mentioned in our [Passwordless Connections](https://auth0.com/docs/authenticate/passwordless#email) documentation, you must provide an email address to receive an OTP or magic link via email. This is referring to logging in through the login page.

If you decide to send an OTP code to your users conditionally, you can call the [`POST /passwordless/start`](https://auth0.com/docs/api/authentication#get-code-or-link) endpoint.

Cheers,  
Rueben

---

<div class="post-metadata">

**Author:** ![bsoutendijk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bsoutendijk/32/60881_2.png) [@bsoutendijk](https://community.auth0.com/u/bsoutendijk)\
**Post date:** [October 4, 2024, 5:46pm UTC](https://community.auth0.com/t/how-to-disable-otp-email-when-creating-new-passwordless-user/148081/4 "2024-10-04T17:46:46Z")

</div>

Ok, I think we are talking about the same email. Regardless of whether it is an OTP or “welcome email”, I do not want Auth0 to deliver ANY emails when I create the user via the management API. The `verify_email: false` flag works in the typical user create endpoint, but with passwordless it will sent the OTP email template. This OTP template “welcomes” the user based on some liquid syntax. There is no way I could find to disable it.

There are a million little issues with Auth0 like this, and this was the final straw. The poor developer experience caused our company to drop Auth0 completely this week. Goodbye

---

<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:** [October 14, 2024, 10:15pm UTC](https://community.auth0.com/t/how-to-disable-otp-email-when-creating-new-passwordless-user/148081/5 "2024-10-14T22:15:21Z")

</div>

Hi @bsoutendijk,

Thanks for the reply.

If you want to prevent the welcome email as well, you can disable that email template by going to your [_Dashboard \> Branding \> Email Templates \> Welcome Email_](https://manage.auth0.com/#/templates) and toggle off the **Status.**  
 ![image](https://global.discourse-cdn.com/auth0/original/3X/6/c/6c6c2c0a6441a3776e376fee0e98556d1430d47d.png)

Let me know if you have any further questions.

Thanks,  
Rueben

---

<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 28, 2024, 10:15pm UTC](https://community.auth0.com/t/how-to-disable-otp-email-when-creating-new-passwordless-user/148081/6 "2024-10-28T22:15:49Z")

</div>

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