Mutations
attachRoleToTeam
Assigns a role to a team, granting all members of the team the associated permissions.
MUTATION
attachRoleToTeam(input: TeamToRoleInput!): AttachRoleToTeamArguments
input
required
Returns
roleId
Int
teamId
Int
Mutation
mutation AttachRoleToTeam($input: TeamToRoleInput!) {
attachRoleToTeam(input: $input) {
roleId
teamId
}
}Variables
{
"input": {
"roleId": 1,
"teamId": 1
}
}Response
{
"data": {
"attachRoleToTeam": {
"roleId": 1,
"teamId": 1
}
}
}Was this page helpful?
⌘I
Mutation
mutation AttachRoleToTeam($input: TeamToRoleInput!) {
attachRoleToTeam(input: $input) {
roleId
teamId
}
}Variables
{
"input": {
"roleId": 1,
"teamId": 1
}
}Response
{
"data": {
"attachRoleToTeam": {
"roleId": 1,
"teamId": 1
}
}
}