---
title: "POST /hubs"
method: POST
path: "/hubs"
tags: ["Hubs"]
---

# POST /hubs

`POST /hubs`

## Request body

- DpHub
  - `id` string
  - `name` string, required
  - `description` string, required
  - `company` DpAccountReference
    - `id` string, required
    - `name` string
    - `icon` string, nullable
  - `events` object
    - `created` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string
    - `updated` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string
  - `stats` object
    - `connections` integer
    - `marketplaces` integer
  - `instance` object
    - `id` string
    - `type` 'OA' | 'API'
  - `instance_id` string, nullable, required
  - `instance_type` 'oa' | 'api', required
  - `version` string
  - `extension_version` string
  - `last_health_check` string, date-time, nullable

## Response `201`

- DpHub
  - `id` string
  - `name` string, required
  - `description` string, required
  - `company` DpAccountReference
    - `id` string, required
    - `name` string
    - `icon` string, nullable
  - `events` object
    - `created` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string
    - `updated` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string
  - `stats` object
    - `connections` integer
    - `marketplaces` integer
  - `instance` object
    - `id` string
    - `type` 'OA' | 'API'
  - `instance_id` string, nullable, required
  - `instance_type` 'oa' | 'api', required
  - `version` string
  - `extension_version` string
  - `last_health_check` string, date-time, nullable

## Other responses

- `400`

---

[API](https://skmtc.net/cloudblue/apis/cloudblue-connect-api.md) · [All operations](https://skmtc.net/cloudblue/apis/cloudblue-connect-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cloudblue/cloudblue-connect-api/revisions/0421d2a97c52/schema)
