BizKitHub
DocsAPI ReferenceAccount/bff/account/logout
postAccountAdmin BFF

/bff/account/logout

Logs out a specific session or all other sessions for the authenticated user.

AccountpostBffAccountLogout

Parameters

JSON body

Request body

application/json
identityIdstringOptional

Identity to log out (defaults to current session).

logoutAllOtherbooleanOptional

Log out all other sessions instead.

Examplefalse

Response schema

1 status code documented

200Success
success"true"Required

Response example

application/json
{
  "success": true
}

Request example

POST /bff/account/logout

post
curl -X POST "https://api.bizkithub.com/bff/account/logout" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "identityId": "example_identityId",
  "logoutAllOther": false
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key