RoutesTeamsTeamidMembers
/teams/{teamId}/members
Add a user to a team with the given role
AuthorizationBearer <token>
In: header
Path Parameters
teamId*string
ID of the team
Request Body
application/json
userId*string
ID of the user to add
role*string
Role of the user in the team
Value in
"member" | "maintainer"Response Body
application/json
curl -X POST "https://YOUR_ORG_ID.gatana.ai/api/v1/teams/string/members" \ -H "Content-Type: application/json" \ -d '{ "userId": "string", "role": "member" }'{
"success": true
}