---
title: "Update a Hub Invite"
method: PUT
path: "/v1/hub/{hub_id}/invite/{invite_id}"
tags: ["Hub"]
---

# Update a Hub Invite

`PUT /v1/hub/{hub_id}/invite/{invite_id}`

Update an existing invite in a hub

## Path parameters

- `hub_id` string, uuid, required
- `invite_id` string, uuid, required

## Request body

- UpdateInvite
  - `tags` string[]
  - `projectRole` 'member' | 'admin' | 'owner'

## Response `200`

Successfully updated the invite

- object
  - `metadata` object
  - `data` InvitedMember
    - `email` string
    - `invitedBy` SummaryUser
      - `firebaseUserId` string
      - `publicId` string, uuid
      - `name` string
      - `email` string
      - `profilePicture` string
    - `createdAt` string, date-time
    - `publicId` string, uuid
    - `tags` Tag[]
      - `publicId` string, uuid
      - `referencePublicId` string
      - `documentTableId` string
      - `value` unknown
      - `projectPublicId` string, uuid
    - `projectRole` string

## Other responses

- `403` — Not authorized to update this invite
- `404` — Hub or invite not found

## 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/invite/:invite_id/put.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)
