POST /auth/signout
/api/store/[slug]/auth/signoutSigns the customer out by invalidating their Supabase session server-side.
Customer bearer token requiredHow authentication works
Path parameters
slugstringrequiredBusiness store slug (non-empty string); 404 if no business matches.
Responses
200
The request succeeded.
401
The key or customer token is missing, malformed, or no longer valid.
404
No such store, or no such record inside it.
What comes back
200: { success: true, message: 'Signed out successfully' }. Succeeds even if server-side token revocation fails (token may already be invalid). Errors: 401 (auth), 404 (business not found).