---
title: "Update an Existing Hub"
method: PUT
path: "/v1/hub/{hub_id}"
tags: ["Hub"]
---

# Update an Existing Hub

`PUT /v1/hub/{hub_id}`

Update an existing hub's details by hub ID

## Path parameters

- `hub_id` string, uuid, required

## Request body

- UpdateHub
  - `name` string, nullable
  - `primaryColour` string, nullable
  - `fontColour` string, nullable
  - `defaultProcessId` string, uuid, nullable
  - `defaultBanner` string, nullable
  - `defaultHeaderBackgroundColor` string, nullable
  - `defaultHeaderTextColor` string, nullable
  - `defaultDateFormat` string, nullable
  - `defaultDatetimeFormat` string, nullable
  - `allowTableExport` boolean, nullable
  - `allowDocumentExport` boolean, nullable
  - `wordTemplate` string, nullable
  - `public` boolean, nullable
  - `domainsAccess` string[], nullable
  - `logo` string, nullable
  - `processTitleFontSize` number, nullable
  - `processTitleBold` boolean, nullable
  - `processTitleItalic` boolean, nullable
  - `processTitleUnderline` boolean, nullable
  - `processTitleColour` string, nullable
  - `processTitleAlignment` 'left' | 'center' | 'right' | 'null', nullable
  - `mfaRequired` boolean, nullable
  - `hideProcessCreated` boolean, nullable
  - `aiSearchEnabled` boolean, nullable
  - `bulkUpdateText` union
    - object, nullable
    - BulkUpdateText
      - `searchText` string, required
      - `replaceText` string, required

## Response `200`

Hub successfully updated

- object
  - `metadata` object
  - `data` SimpleHub
    - `logo` string
    - `projectList` ProjectList[]
      - `createdAt` string, date-time
      - `updatedAt` string, date-time
      - `favourite` boolean
      - `projectRole` string
      - `user` User6
        - `publicId` string, uuid
        - `name` string
        - `firebaseUserId` string
        - `email` string
        - `kind` string
    - `publicId` string
    - `image` string
    - `name` string
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
    - `isDeleted` boolean
    - `mfaRequired` boolean
    - `hideProcessCreated` boolean
    - `aiSearchEnabled` boolean
    - `deletedAt` string, date-time
    - `primaryColour` string
    - `fontColour` string
    - `defaultProcessId` string
    - `defaultHeaderBackgroundColor` string
    - `defaultHeaderTextColor` string
    - `defaultDateFormat` string
    - `defaultDatetimeFormat` string
    - `allowTableExport` boolean
    - `allowDocumentExport` boolean
    - `wordTemplate` string
    - `public` boolean
    - `domainsAccess` string[]
    - `processTitleFontSize` number
    - `processTitleBold` boolean
    - `processTitleItalic` boolean
    - `processTitleUnderline` boolean
    - `processTitleColour` string
    - `processTitleAlignment` string
    - `headingStyles` HeadingStyle[]
      - `publicId` string, uuid
      - `level` integer
      - `bold` boolean
      - `italic` boolean
      - `underline` boolean
      - `colour` string
      - `numberingStyle` integer
      - `startAt0` boolean
      - `fontSize` number
    - `defaultBanner` string

## Other responses

- `403` — Not authorized to update this hub
- `404` — Hub not found
- `405` — Hub is not active

---

[API](https://skmtc.net/morta-technology/apis/morta-api-reference.md) · [All operations](https://skmtc.net/morta-technology/apis/morta-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/morta-technology/morta-api-reference/versions/9c58c1c1e7e8/schema)
