Legacy endpoint — rotates the master credential password. Prefer POST /api/v1/smtp-credentials/{credential_id}/rotate for named credentials.
Security
ApiKeyAuth
- US Data Centerhttps://api.mailerlogic.net/api/v1/smtp-credentials/rotate
- EU Data Center (coming soon)https://eu-api.mailerlogic.net/api/v1/smtp-credentials/rotate
curl -i -X POST \
https://api.mailerlogic.net/api/v1/smtp-credentials/rotate \
-H 'X-API-Key: YOUR_API_KEY_HERE'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." }