API operation · mail group
POST
/mail/webmail/release
First published 18 Oct 2026
0.2.10Unchanged since publicationRelease a webmail sign-in ticket at logout
Who may call it
Anyone (no token needed)
Token
noneAnswers200 OK
The UrbeStack plugin for Roundcube calls this operation at logout. It accepts requests only from 127.0.0.1 or ::1 and returns 404 for other origins. Supply the mailbox's email address in address and its sign-in ticket in ticket. The ticket serves as the credential, so no API token is required.
An invalid or missing email address returns 400. An omitted, null, empty, or non-scalar ticket, or one containing control characters, also returns 400. The response returns the normalized email address in address and sets released to true if a matching ticket was removed. If no ticket matches, the operation returns 200 with released set to false and leaves any other ticket intact.
As a command
Run as root on the serveraddressstring, up to 320 charactersRequiredMailbox email address in local@domain form.
ticketstring, up to 200 charactersRequiredTicket webmail used to sign in.
Example
See the API overview for how to set $API and $TOKEN.Request
curl -sS -X POST "$API/mail/webmail/release" \
-H "Content-Type: application/json" \
-d '{
"address": "info@example.com",
"ticket": "text"
}'Response ·
200 OK{
"address": "info@example.com",
"released": true
}Errors
23 errors, each a status and a sentence400--address is required400--ticket-stdin is required with --release400<what> must be text without control characters, 1 to <max> characters400A mailbox address is required400Domain name required400Domain name too long400Invalid IPv4 address400Invalid IPv6 address400Invalid domain name400Invalid mail address400Invalid mail address: local part over 64 characters400Invalid mail address: no local part400Invalid mail address: the local part may hold letters, digits, dots, _ + and -400Invalid port400Invalid setting key400The ticket is required403The account <user> is suspended403The sign-in of <address> is off404No such mail account: <address>404Not found404Setting '<key>' not found409The mail system is not installed409Webmail is switched off on this server (mail.webmail)No 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.2.10 on 18 Oct 2026.
urbestack.com/docs/api/post-mail-webmail-release/