cURL
curl --request POST \ --url https://app.autocalls.ai/api/white-label/logout \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "user_id": 123, "email": "<string>", "token_id": 123 } '
{ "message": "User logged out successfully." }
Revoke API tokens for a platform user
email
user_id
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": "[email protected]" }'
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 }'