V1ApiAuthRevoke session
Central authentication: revoke-session
Better Auth 1.7.3 endpoint. Phone mutations are normalized and budgeted; browser sessions use HttpOnly cookies.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/api/auth/revoke-session" \ -H "Content-Type: application/json" \ -d '{ "token": "string" }'Empty
Central authentication: revoke-other-sessions POST
Better Auth 1.7.3 endpoint. Phone mutations are normalized and budgeted; browser sessions use HttpOnly cookies.
Central authentication: revoke-sessions POST
Better Auth 1.7.3 endpoint. Phone mutations are normalized and budgeted; browser sessions use HttpOnly cookies.