API referenceEmail accounts
POST
/email/api/v1/accounts/{id}/restart

The engine drops its IMAP connection and opens a new one.

Authorization

X-API-KEY<token>

Your API key from the console (gw_live_…).

In: header

Path Parameters

id*string

A mailbox (em_…).

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/email/api/v1/accounts/em_gX2kP9qL4mT7vB1nR8sW3yZ/restart"
{  "object": "AccountRestarted"}