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

rthill91 picture rthill91  路  4Comments

kodeshpa picture kodeshpa  路  3Comments

nchammas picture nchammas  路  3Comments

psychemedia picture psychemedia  路  5Comments

grayaii picture grayaii  路  4Comments