Question

Can I disable emails about droplet creation?

Posted August 8, 2016 2.4k views
API

Everytime I create a droplet, I receive an email. As i’m testing automation scripts, I’m getting a lot of them.

Is there a way to create droplets that prevents these emails from being sent ?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hi!

If you do not wish to receive an email upon the creation of every Droplet, please provide an SSH key to the /v2/droplets POST request. Since you will not need the randomly generated root password, you will not receive any emails.

  • I was provisioning user accounts with ssh-keys and sudo privileges through cloudinfo/user_data, so I didn’t need the password either, but that’s probably a too complex configuration to recognize

    It turns out to be more complex than I needed too, so I switched to root ssh-keys, and that solves the emails. Thanks!

Submit an Answer