Knowledge hubs

Delete a hub

Deletes a knowledge hub. The removal is soft: the hub stops appearing in any endpoint and stops grounding campaigns, and its knowledge store is retained. The default hub refuses deletion (409 KNOWLEDGE_HUB_DEFAULT_UNDELETABLE) — make another hub the default first. A hub whose first build has not produced a knowledge store yet — one still processing, or a draft whose build failed — cannot be deleted and answers 409 KNOWLEDGE_HUB_NOT_READY. Deleting a hub that is already deleted answers 404.

Errors:

  • 404 KNOWLEDGE_HUB_NOT_FOUND — No hub with that id, it was already deleted, or it belongs to another team.
  • 409 KNOWLEDGE_HUB_DEFAULT_UNDELETABLE — The hub is the default one; make another hub the default first.
  • 409 KNOWLEDGE_HUB_NOT_READY — The hub is still building or its build failed before a knowledge store existed, so it cannot be deleted.
  • 422 VALIDATION_FAILED — hubId is not a 24-character hex id.
  • 429 RATE_LIMITED — More than 30 knowledge-hub/campaign requests in a minute (or 1000 in a day). Knowledge hubs share the campaigns bucket.

Requires one of the following token scopes: campaigns.

delete/business/knowledge-hubs/{hubId}

Request

  • Base URL: https://api.tryfuse.ai/api/v1
  • URL: https://api.tryfuse.ai/api/v1/business/knowledge-hubs/{hubId}
  • Auth: HTTP basic

Path parameters

hubIdstring required

24-character hex id of the knowledge hub (from GET /business/knowledge-hubs).

Response

Deleted

Changes

No recorded changes to this operation across all 1 revision of this API.