Request account flush
Deletes all email indexes from Redis and re-creates the index for that account. You can only run a single flush operation at a time, so you must wait until the previous flush has finished before initiating a new one.<br/><br/>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
- Base URL: https://your-emailengine-host
- URL: https://your-emailengine-host/v1/account/{account}/flush
- Auth: HTTP bearer
Path parameters
Unique identifier for the email account
Headers
Request timeout in milliseconds. Raises the command timeout above the EENGINE_TIMEOUT default for a long-running request; a value below the default has no effect
Request body
Example request
{
"notifyFrom": "2021-07-08T07:06:34.336Z",
"imapIndexer": "full"
}Response
Returns an acknowledgement. Cached message indexes are cleared and rebuilt in the background.
Changes
No recorded changes to this operation across all 1 revision of this API.