Skip to main content
DELETE
/
user
/
email-accounts
/
{emailAccountId}
Disconnect Email Account
curl --request DELETE \
  --url https://api.lemlist.com/api/user/email-accounts/{emailAccountId} \
  --header 'Authorization: Basic <encoded-value>'
{
  "ok": true
}
Permanently disconnects the specified SMTP/IMAP email account. This will:
  • Remove the SMTP and IMAP credentials
  • Pause any active lemwarm warming
  • Unlink the account from campaigns if owned by the API caller
This action cannot be undone. The email account will need to be reconnected from scratch.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

emailAccountId
string
required

The ID of the email account to disconnect.

Response

Email account disconnected successfully

ok
boolean