Removes the server's custom SMTP host, from address, user name and password, so email alerts go out through the server default again. The subject and footers are not changed. Calling it on a server without custom SMTP settings succeeds and changes nothing.
Authorization
Same as GET /email_settings: internal API clients only; COMPANY or SERVER users on a ZWS-integrated server, SERVER users only otherwise.
DELETE
/email_settings/smtp
curl \
--request DELETE 'https://api.iformbuilder.com/exzact/api/v80/[servername]/email_settings/smtp' \
--header "Authorization: Bearer {access_token}"
Response examples (200)
{
"custom": false,
"host": null,
"from_address": null,
"username": null,
"password_set": false,
"subject": "Record received",
"footer": "",
"footer2": ""
}