API operation · mail group
POST
/mail/queue/flush
First published 3 Oct 2026
0.1.0Unchanged since publicationAsk Postfix to retry delivery of every queued message immediately
Who may call it
AdministratorResellerCustomer
Token scope, any of
mailallAnswers200 OK
The 200 response returns flushed set to true when the retry request succeeds. Requires an administrator token with the mail scope.
As a command
Run as root on the serverExample
See the API overview for how to set $API and $TOKEN.Request
curl -sS -X POST "$API/mail/queue/flush" \ -H "Authorization: Bearer $TOKEN"
Response ·
200 OK{
"flushed": true
}Errors
2 errors, each a status and a sentence400The mail stack is not installed on this server401Authentication requiredNo error of this operation matches.
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/api/post-mail-queue-flush/