Solved

How to remove someone from an org

  • 28 September 2022
  • 5 replies
  • 70 views

Userlevel 3

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 6
Badge

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 6
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@email.com"}
) {
success
clientMutationId
}
}

 

Userlevel 3

@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!

Userlevel 3

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