v1

latestOpenAPI 3.1.02026-07-261690320.7 KB

Add user to team

Add user to team

post/teams/{team_id}/addUser

Path parameters

team_idinteger required

Unique ID of the team

Request body

user_idinteger required

The id of the user to add.

Example request

{
  "user_id": 1
}

Response

The user has successfully been added to the team

successinteger

The integer 1 indicating success

Example response

{
  "success": 1
}