POST /api/admin/auth/sign-out: ends this session here and at Cognito (its refresh token), clears the cookie.Staff cookie session; any admitted staff member. Write requests need same-origin JSON and X-Admin-CSRF from this session.Source snapshot: admin/src/app/api/admin/auth/sign-out/route.ts. This reference describes the current working tree, not proof of deployment. The response service types and validators remain authoritative.
Request
Authorization
API Key
Add parameter in cookie
__Host-hwa_session
Example:
__Host-hwa_session: ********************
or
Header Params
Responses
🟢204
Completed; no response body.
This response does not have a body.
🟠400
🟠401
🟠403
🟠429
⚪default
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST '/api/admin/auth/sign-out' \
--header'X-Admin-CSRF;'