API operation · auth group
POST
/auth/logout
First published 3 Oct 2026
0.1.0Unchanged since publicationRevoke the token used for this request
Who may call it
AdministratorResellerCustomer
Token scope
AnyAnswers200 OK
UrbeStack also closes any customer sessions the token opened and revokes any plugin tokens tied directly to it. The response sets revoked to true.
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/auth/logout" \ -H "Authorization: Bearer $TOKEN"
Response ·
200 OKThe response body is the file itself.
Errors
5 errors, each a status and a sentence400Invalid id400Invalid username: 2 to 32 lowercase letters, digits or underscores, starting with a letter400Username '<value>' is reserved401Authentication required404Token <id> not foundNo 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-auth-logout/