Restore Default SMTP

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://apidocs.zerionsoftware.com/doc/iformbuilder-v80/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "iFormBuilder V80 MCP server": {
    "url": "https://apidocs.zerionsoftware.com/doc/iformbuilder-v80/mcp"
  }
}

Close
DELETE /email_settings/smtp

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.

Headers

  • Authorization string

    e.g. Bearer {access_token}

Responses

  • 200 application/json

    OK - the custom SMTP settings were removed. The body is the updated settings, in the same shape as GET.

    Hide response attributes Show response attributes object
    • custom boolean Required

      true when the server has its own SMTP settings; false when alerts use the server default

    • host string | null Required

      the SMTP host; null when not set

    • from_address string | null Required

      the sender address of alert email; null when not set

    • username string | null Required

      the SMTP user name; null when not set

    • password_set boolean Required

      true when a non-empty SMTP password is stored

    • subject string Required

      the subject of an alert whose form sets none

    • footer2 string Required

      the second footer of alert email

  • 401

    Unauthorized - missing or invalid bearer token.

  • 403

    Forbidden - the client is not internal, or the user's role is not allowed (see Authorization).

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": ""
}