Mutations
addUserToTeam
Adds a user to a team.
MUTATION
addUserToTeam(input: TeamToUserInput!): AddUserToTeamArguments
input
required
Returns
teamId
Int
userId
Int
Mutation
mutation AddUserToTeam($input: TeamToUserInput!) {
addUserToTeam(input: $input) {
teamId
userId
}
}Variables
{
"input": {
"teamId": 1,
"userId": 1
}
}Response
{
"data": {
"addUserToTeam": {
"teamId": 1,
"userId": 1
}
}
}Was this page helpful?
⌘I
Mutation
mutation AddUserToTeam($input: TeamToUserInput!) {
addUserToTeam(input: $input) {
teamId
userId
}
}Variables
{
"input": {
"teamId": 1,
"userId": 1
}
}Response
{
"data": {
"addUserToTeam": {
"teamId": 1,
"userId": 1
}
}
}