---
title: "POST /teams/{teamId}/users/{userId}"
method: POST
path: "/teams/{teamId}/users/{userId}"
tags: ["Teams - Users"]
---

# POST /teams/{teamId}/users/{userId}

`POST /teams/{teamId}/users/{userId}`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `teamId` string, required
- `userId` string, required

## Request body

- UpdateTeamUserModel
  - `userRole` 'Owner' | 'Member', required

## Response `200`

## Other responses

- `400`
- `404`

## Changes

> 56 revisions in range; 6 not diffed.

- **2026-06-29** `59b8e3301f37`: 3 warning, 5 info
  - removed the optional property `code` from the response with the `400` status
  - removed the optional property `errors` from the response with the `400` status
  - removed the optional property `message` from the response with the `400` status
  - added the optional property `detail` to the response with the `400` status
  - …4 more
- **2024-11-16** `522dcbb4e6ef`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/navtrack/apis/navtrack-api/changes/teams/:teamId/users/:userId/post.md)

---

[API](https://skmtc.dev/navtrack/apis/navtrack-api.md) - [All operations](https://skmtc.dev/navtrack/apis/navtrack-api/llms.txt) - [OpenAPI document](https://skmtc.dev/navtrack/apis/navtrack-api/revisions/70d0b7ce1640?raw)
