Skip to content

Purge All Sessions

POST
/api/superadmin/purge
curl --request POST \
--url https://example.com/api/superadmin/purge \
--header 'Authorization: Bearer <token>'

Purge all user sessions and ephemeral caches platform-wide.

Sets a global token epoch so all existing access tokens are immediately rejected. Purges ephemeral Redis caches and revokes all refresh tokens. All users (including the caller) must re-authenticate after this action.

Successful Response

Media type application/json
Response Purge All Sessions Api Superadmin Purge Post
object
key
additional properties
any
Example generated
{}