Skip to main content
Solved

How to remove someone from an org

  • September 28, 2022
  • 5 replies
  • 103 views

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?
 

Best answer by marcos.pedrosa

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

 

View original
Did this topic help you find an answer to your question?

5 replies

natalia-manffre
Pipefy Staff
Forum|alt.badge.img+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 ;)


marcos.pedrosa
Pipefy Staff
Forum|alt.badge.img+2
  • Pipefy Staff
  • 41 replies
  • Answer
  • September 29, 2022

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

 


  • Author
  • New Member
  • 3 replies
  • September 29, 2022
marcos.pedrosa wrote:

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


  • Author
  • New Member
  • 3 replies
  • September 29, 2022
natalia-manffre wrote:

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!


Juliana Spinardi
Pipefy Staff
Forum|alt.badge.img+8

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings