---
title: "Delete a User from a Hub"
method: DELETE
path: "/v1/hub/{hub_id}/remove-user/{firebase_id}"
tags: ["Hub"]
---

# Delete a User from a Hub

`DELETE /v1/hub/{hub_id}/remove-user/{firebase_id}`

Remove a user from a specific hub, identified by the hub's UUID and user's Firebase ID

## Path parameters

- `hub_id` string, uuid, required
- `firebase_id` string, required

## Response `200`

User successfully removed from the hub

- 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` — Insufficient permissions to remove the user
- `404` — Hub or user not found
- `405` — Operation not allowed on a non-active hub

## Changes

- **2025-07-05** `9c58c1c1e7e8` — 1 info
  - endpoint added
- **2025-07-05** `69960ee36427` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/morta-technology/apis/morta-api-reference/changes/v1/hub/:hub_id/remove-user/:firebase_id/delete.md)

---

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