DELETE api/2.0/smtpsettings/smtp This function requires authentication

Description

Resets the SMTP settings of the current portal.

Parameters

This method doesn't have any parameters.

Example
DELETE api/2.0/smtpsettings/smtp
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Default SMTP settings

Example Response
{
  "status": 0,
  "response": {
    "Host": "mail.example.com",
    "Port": "25",
    "SenderAddress": "notify@example.com",
    "SenderDisplayName": "Postman",
    "CredentialsUserName": "notify@example.com",
    "CredentialsUserPassword": "{password}",
    "EnableSSL": true,
    "EnableAuth": false,
    "UseNtlm": false,
    "IsDefaultSettings": false
  }
}