THISBIT VOICE & TRANSCRIPTS / DOCUMENTATION
POST /api/v2/integrations/knowledge_bases/{kb_id}
Change or remove the connected knowledge base.
Implemented. Requires the integrations registry on the customer deployment and, to publish, an installed AWOW binding of the workspace (Studio control holds the copy; without one an approval for the knowledge base answers 409 workspace_unbound).
POST $STUDIO_CUSTOMER_URL/api/v2/integrations/knowledge_bases/{kb_id}- Host
- Customer API
- Caller
- Workspace administrator.
- Authorization
- Bearer token for the customer API, as for every /api/v2 route; the signed-in member must hold the workspace administrator role, otherwise 403 unavailable.
Request
transport_version: 2 and the fields to change (as for connecting), or action: remove with no other field. A change to origin, audience, authority, scope or kinds moves the record’s revision on, so items approved against the earlier revision reopen as conflicts for a new approval.
Return value
200. {transport_version: 2, knowledge_base}; after a removal, knowledge_base is {removed: true} and every project route to it is cleared. Nothing published is changed or retracted by a removal.
Errors and retrying
Repeating the same change is safe. An unknown id is 400 invalid_request with a detail.
Read the error codes and limits before retrying. A missing or inaccessible resource can produce the same refusal; do not infer its existence.