Skip to main content

Request account flush

PUT 

/v1/account/:account/flush

Deletes all email indexes from Redis and ElasticSearch 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.

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

Returns an acknowledgement. Cached message indexes are cleared and rebuilt in the background.