Skip to main content
POST
Logout platform user
This endpoint allows white label admins to revoke API tokens for one of their platform users, effectively logging them out.
This endpoint requires authentication as a white label admin. You can only logout users belonging to your platform.

Request Body

integer
The ID of the user to logout. Required if email is not provided.
string
The email of the user to logout. Required if user_id is not provided.
integer
Optional. The specific token ID to revoke. If not provided, all tokens for the user will be revoked.

Response

string
Success message

Example: Logout by Email (All Tokens)

Example: Logout Specific Token