Parameters
JSON body
Request body
application/jsonidnumberRequiredInternal id of the shop__contact_login_identity row to revoke (as returned by /active-sessions).
Revokes the given shop__contact_login_identity row (scoped to the authenticated user — cannot address another user's row). Human sessions cascade to any AI-agent credentials provisioned from them; AI-agent rows die alone. Idempotent — revoked: false when the row was already inactive.
JSON body
idnumberRequiredInternal id of the shop__contact_login_identity row to revoke (as returned by /active-sessions).
1 status code documented
revokedbooleanRequiredTrue when the row was active and is now revoked; false when nothing changed.
agentsRevokedCountnumberRequiredNumber of AI-agent rows revoked as a kill-chain side effect (0 for AI-agent rows themselves or when no children existed).
{
"revoked": false,
"agentsRevokedCount": 0
}POST /bff/account/logout-session
curl -X POST "https://api.bizkithub.com/bff/account/logout-session" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"id": 0
}'All BizKitHub public API endpoints require authentication via API key.