Skip to main content

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](https://docs.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)".

PUT/orgs/{org}/outside_collaborators/{username}
Source
github-v3-rest.json
Revision
f5f067c1e6f6
Active snapshot
85e53e3d0d65

Request

Path Parameters
org string
required
username string
required

Responses

application/json object

User is getting converted asynchronously

Response body object

User was converted

Forbidden if user is the last owner of the organization or not a member of the organization

application/json Basic Error object

Resource not found

documentation_url string
optional
message string
optional
status string
optional
url string
optional