Can i suppress the email getting sent from the droplet create via the API

So here’s my problem, i have looked around and can’t seem to find a solution to it, or i may just be googling the wrong terms.

I’m trying to setup droplet creation via the API and i’m using the user-date( cloud-config ) to run command’s. But no matter what i try and do the email associated with the account gets and email saying that the droplet is ready and the root password is “blah”.

So my question is how do i suppress that email so that the email does not get sent to the associated email with that account.

I know i could attach an SSH key but I’m trying to avoid attaching a Key via the API to the account in question.

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @asb I don’t know how to post a new question, so I’ll just post mine here.

I can’t open my PostgreSQL remotely using PgAdmin. Kindly see the image link below for the prompt.

I’ve already did this to iptables and the postgre is running fine. iptables -A INPUT -p tcp -m tcp --dport 5432 -j ACCEPT iptables -A OUTPUT -p tcp -m tcp --dport 5432 -j ACCEPT

see the image link for the result of iptables -L

@saurabh is correct. There isn’t currently any way to suppress the root password mail except for adding a SSH key.