unilynx
By:
unilynx

Can I disable emails about droplet creation?

August 8, 2016 267 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 ?

1 Answer
kamaln7 MOD August 8, 2016
Accepted 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!

Have another answer? Share your knowledge.