Skip to main content

Im trying to remove people from an org using graphql syntax with this code:

 

mutation RemoveUserFromPipe {
  removeUserFromOrg(
    input: {organization_id: "", email: ""}
  ) {
    success
    clientMutationId
  }
}

 

i’m not very sure thats right, some of you guys can help me with it?
 

@pferrariog let us know if you need more info!!


Hi, how are you? I did a test on my test org and it works :)

You can try it and with you have any problem send us a chat and we will help you ;)

thanks! its good that it works, im going to do new tests soon and confirmation like this sound really good!


@pferrariog

I believe there is an extra line in your code. Please try the following and let me know if this works. 😀

 

mutation{
removeUserFromOrg(
input: {organization_id: "xxxxxxxxx", email: "email@email.com"}
) {
success
clientMutationId
}
}

 

Seems like i wasnt wrong at all! Thanks!


@pferrariog

I believe there is an extra line in your code. Please try the following and let me know if this works. 😀

 

mutation{
removeUserFromOrg(
input: {organization_id: "xxxxxxxxx", email: "email@email.com"}
) {
success
clientMutationId
}
}

 


Hi, how are you? I did a test on my test org and it works :)

You can try it and with you have any problem send us a chat and we will help you ;)


Reply