---
title: "Add user to team"
method: POST
path: "/teams/{team_id}/addUser"
---

# Add user to team

`POST /teams/{team_id}/addUser`

## Request

- Base URL: `https://app.aikido.dev/api/public/v1`
- URL: `https://app.aikido.dev/api/public/v1/teams/{team_id}/addUser`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://app.aikido.io/api/oauth/token` scopes: `teams:write`

Add user to team

## Path parameters

- `team_id` integer, required

## Request body

- object
  - `user_id` integer, required: The id of the user to add.

## Response `200`

The user has successfully been added to the team

- object
  - `success` integer: The integer 1 indicating success

## Other responses

- `404`: The team or user has not been found

---

[API](https://skmtc.dev/aikido/apis/aikido-security-api-documentation.md) - [All operations](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/revisions/da8691338133?raw)
