GitHub is making it easier to remotely administer repositories and organizations on its platform. Yesterday the company opened access to a preview version of its new Organization Memberships APIs, which allow for the remote administration of access privileges and user-management tasks.
The new APIs will be available in preview form until they are finalized, thus users should be aware that the functionality exhibited here may be changed at any time. Still, the functionality covered by this preview release is fairly comprehensive when it comes to user administration tasks.
(Related: Google to end support for level 9 APIs)
This preview release includes new and revised endpoints for easier handling by developers. Using the preview APIs, developers can now review a user’s permission level, list outside collaborators and remove them individually, and shunt members into outside collaborator status.
Invitations can also be managed via the Organization Memberships APIs. Thus, developers can view pending membership requests and list team invitations without having to log into the GitHub website.
Existing APIs have also been modified for simplicity of management. Repository permissions can be retrieved and set through an API, and when creating a new team, maintainers can be designated at the time of creation.
GitHub plans to announce any changes to these APIs on its blog, and expects there will be modifications based on user feedback in the coming weeks.