v50

latestOpenAPI 3.0.3MITraw.githubusercontent.com2024-03-2585861610.1 MB
orgs

Convert an organization member to outside collaborator

When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see "Converting an organization member to an outside collaborator". Converting an organization member to an outside collaborator may be restricted by enterprise administrators. For more information, see "Enforcing repository management policies in your enterprise."

put/orgs/{org}/outside_collaborators/{username}

Path parameters

orgstring required

The organization name. The name is not case sensitive.

usernamestring required

The handle for the GitHub user account.

Request body

asyncboolean

When set to true, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued.

Response

User is getting converted asynchronously

object required