Files
hoppscotch/packages/hoppscotch-sh-admin/src/helpers/backend/gql/mutations/ChangeUserRoleInTeamByAdmin.graphql
2023-04-04 13:48:02 +05:30

15 lines
234 B
GraphQL

mutation ChangeUserRoleInTeamByAdmin(
$userUID: ID!
$teamID: ID!
$newRole: TeamMemberRole!
) {
changeUserRoleInTeamByAdmin(
userUID: $userUID
teamID: $teamID
newRole: $newRole
) {
membershipID
role
}
}