Documentation Index
Fetch the complete documentation index at: https://docs.autocalls.ai/llms.txt
Use this file to discover all available pages before exploring further.
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
The ID of the user to logout. Required if email is not provided.
The email of the user to logout. Required if user_id is not provided.
Optional. The specific token ID to revoke. If not provided, all tokens for the user will be revoked.
Response
{
"message": "User logged out successfully."
}
Example: Logout by Email (All Tokens)
curl -X POST https://app.autocalls.ai/api/white-label/logout \
-H "Authorization: Bearer YOUR_ADMIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"email": "platformuser@example.com"
}'
Example: Logout Specific Token
curl -X POST https://app.autocalls.ai/api/white-label/logout \
-H "Authorization: Bearer YOUR_ADMIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"user_id": 123,
"token_id": 45
}'