Pygithub: How to remove sent invitations

Created on 16 May 2019  ·  5Comments  ·  Source: PyGithub/PyGithub

I used repo.add_to_collaborators to add massively some users to some repositories, but now I have to revert the action for those who haven't accepted the invitation yet, how can I list the invitations and cancel them?
Is there a way to use with PyGithub this API example?

feature request

Most helpful comment

The invitations API is only partially implemented, but I'll look at adding code to list and delete invitations for repositories today.

All 5 comments

The invitations API is only partially implemented, but I'll look at adding code to list and delete invitations for repositories today.

Thank you so much @s-t-e-v-e-n-k !

https://github.com/PyGithub/PyGithub/pull/1156 is the first part of this work.

Wow! this feature is going so fast!

Thank you so much @s-t-e-v-e-n-k, finally I could test the new Repository methods and they work like a charm!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AdyaAbhra picture AdyaAbhra  ·  5Comments

grayaii picture grayaii  ·  4Comments

nchammas picture nchammas  ·  3Comments

lwasser picture lwasser  ·  4Comments

xpdable picture xpdable  ·  5Comments