post__sessions_revoke-all
TypeScript Client Library
// Using the Flashback TypeScript client
import { FlashbackClient } from '@flashback/client';
const client = new FlashbackClient({
accessToken: 'your-access-token'
});
// Revoke all sessions
try {
const result = await client.sessions.revokeAll();
console.log('All sessions revoked:', result);
} catch (error) {
console.error('Failed to revoke all sessions:', error);
}Code Samples
Responses
Status
Meaning
Description
Schema
Response Schema
Name
Type
Required
Restrictions
Description
Name
Type
Required
Restrictions
Description
Last updated
Was this helpful?