---
title: "Make a hub the default one"
method: POST
path: "/business/knowledge-hubs/default"
tags: ["Knowledge hubs"]
---

# Make a hub the default one

`POST /business/knowledge-hubs/default`

## Request

- Base URL: `https://api.tryfuse.ai/api/v1`
- URL: `https://api.tryfuse.ai/api/v1/business/knowledge-hubs/default`
- Auth: HTTP basic

Marks one of your own hubs as the default one and clears the flag on every other hub you own. A team uses one hub, the one a campaign created without a `knowledgeHubId` grounds on: the team owner's default when it is built or building, else the oldest built one among the members' defaults. A teammate's hub is readable through `GET /business/knowledge-hubs/{hubId}` but cannot be made your default and answers 403 `KNOWLEDGE_HUB_OWNER_ONLY`. The response echoes the request; read the hub back with `GET /business/knowledge-hubs/{hubId}` to confirm.

Errors:
- `403` `KNOWLEDGE_HUB_OWNER_ONLY` — The hub belongs to a teammate; you can read it, but only its owner can make it their default hub.
- `404` `KNOWLEDGE_HUB_NOT_FOUND` — No hub with that id, it was deleted, or it belongs to another team.
- `422` `VALIDATION_FAILED` — hubId missing or 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.

## Request body

- object
  - `hubId` string, required: 24-character hex id of the hub to make the default; every other hub loses the flag.

## Response `200`

Success

- object
  - `knowledgeHub` object, required
    - `id` string, required
    - `isDefault` true, required

## Other responses

- `400`: Error
- `401`: Error
- `402`: Error
- `403`: Error
- `404`: Error
- `409`: Error
- `422`: Error
- `429`: Error
- `500`: Error

---

[API](https://skmtc.dev/fuseai/apis/fuse-business-api.md) · [All operations](https://skmtc.dev/fuseai/apis/fuse-business-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fuseai/apis/fuse-business-api/revisions/50d95e0536f4?raw)
