---
title: "Add a user to a team"
method: POST
path: "/team/{id}/members"
tags: ["teams"]
---

# Add a user to a team

`POST /team/{id}/members`

## Request body

- UserIdentifier
  - `user_id` string, required

## Response `204`

Expected response to a valid request

## Other responses

- `401` — Incorrect token scopes or no authorization to access the requested item(s)
- `404` — The requested item(s) were not found or no authorization to access the requested item(s)

---

[API](https://skmtc.net/modrinth/apis/labrinth.md) · [All operations](https://skmtc.net/modrinth/apis/labrinth/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/modrinth/labrinth/revisions/16bb5dbc54f4/schema)
