Skip to main content
POST
Revoke sessions

Authorizations

Authorization
string
header
required

Access token obtained from session refresh

Query Parameters

target
enum<string>
required

Which sessions to revoke: - all: revoke all sessions including the current one - others: revoke all sessions except the current one - mine: revoke only the current session - session: revoke a specific session (requires session_id parameter)

Available options:
all,
others,
mine,
session
session_id
string

Required when target is "session". The ID of the session to revoke.

Example:

"ses_01jqebhswje1ka1z7ahr9rfsgt"

Response

No Content