---
title: "Add Members to A Team"
method: PUT
path: "/teams/{team_id}/members"
tags: ["Teams"]
---

# Add Members to A Team

`PUT /teams/{team_id}/members`

## Request

- Base URL: `https://dataops.nexla.io/nexla-api`
- URL: `https://dataops.nexla.io/nexla-api/teams/{team_id}/members`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/nexla/apis/nexla-rest-api/docs/teams/:team_id/members/put.ts> (a function with typed inputs; its response is checked against the schema)

Adds a list of members to a team. The existing list of members will be retained and merged with the new list of members.

## Path parameters

- `team_id` integer, required

## Request body

- TeamMemberList
  - `members` TeamMemberResponseSchema[]
    - `id` integer: Unique ID of the user.
    - `email` string, email: Email ID of the user.
    - `admin` boolean: Reflects whether the user is an administrator of this team or not.

## Response `200`

Success

- TeamMemberList[]
  - `members` TeamMemberResponseSchema[]
    - `id` integer: Unique ID of the user.
    - `email` string, email: Email ID of the user.
    - `admin` boolean: Reflects whether the user is an administrator of this team or not.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

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