Skip to content

Rotate master SMTP password (legacy)

Request

Legacy endpoint — rotates the master credential password. Prefer POST /api/v1/smtp-credentials/{credential_id}/rotate for named credentials.

Security
ApiKeyAuth
curl -i -X POST \
  https://api.mailerlogic.net/api/v1/smtp-credentials/rotate \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

SMTP password rotated successfully

Bodyapplication/json
successboolean
messagestring
smtp_credentialsobject(SMTPCredentialsDetail)
warningstring
Example:"Update your SMTP clients with the new password. The old password will no longer work."
Response
{ "success": true, "message": "string", "smtp_credentials": { "host": "smtp.mailerlogic.net", "ports": [], "recommended_port": 0, "username": "string", "password": "string" }, "warning": "Update your SMTP clients with the new password. The old password will no longer work." }