Solved

How to remove someone from an org

  • 28 September 2022
  • 5 replies
  • 29 views

Userlevel 1

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?
 

icon

Best answer by marcos.pedrosa 29 September 2022, 13:19

View original

5 replies

Userlevel 4

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 ;)

Userlevel 5
Badge

@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 protected]"}
) {
success
clientMutationId
}
}

 

Userlevel 1

@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 protected]"}
) {
success
clientMutationId
}
}

 

Seems like i wasnt wrong at all! Thanks!

Userlevel 1

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!

Userlevel 7
Badge +8

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

Reply