BizKitHub
DocsAPI ReferenceAi Agent/bff/ai-agent/revoke
postAi AgentAdmin BFF

/bff/ai-agent/revoke

Sets authorized = false on all active AI-agent rows for the current (user, member) pair. Idempotent — returns revokedCount: 0 when nothing was active.

AI AgentpostBffAi-agentRevoke

Parameters

No parameters required

This endpoint takes no path, query, header or body parameters.

Response schema

1 status code documented

200SuccessResult of the revoke operation.
revokedCountnumberRequired

Number of AI-agent credentials that were active and are now revoked.

Response example

application/json
{
  "revokedCount": 0
}

Request example

POST /bff/ai-agent/revoke

post
curl -X POST "https://api.bizkithub.com/bff/ai-agent/revoke" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key