Resume syncing
PUT/v1/account/:account/resume
Turns an account back on after EmailEngine switched it off following repeated authentication failures (authFailureDisabledAt on the account), and requests a reconnect. The same action as "Resume syncing" in the admin UI. Only lifts that automatic switch: an account that was not switched off by EmailEngine, including one an operator set to send-only, answers 409 with code NotSwitchedOff. If the stored credentials are still refused, the account is switched off again after the next run of failures, so fix the credentials first.
The request only schedules the work and returns before it finishes. Watch the account state, or the accountInitialized and authenticationError webhooks, for the result.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 429
- 500
Returns an acknowledgement. The account is switched back on and a reconnect is requested, not completed - watch the account state for the result.
Invalid input - the path parameters, query arguments, or request payload did not pass validation. Also returned when the email server refused the request, in which case the response carries a code and the server response instead of a field list
Authentication failed - the access token is missing, invalid, or was not accepted
Access denied - the access token does not grant permission for this operation (token scope, account, or IP address restriction)
Not found - the requested entity (account, message, mailbox, etc.) does not exist
Conflict - the entity is not in a state the operation applies to
Rate limit exceeded - too many requests were made with this access token
Internal server error - an unexpected error occurred while processing the request