v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
admin

Create an organization

post/admin/users/{username}/orgs

Path parameters

usernamestring required

username of the user who will own the created organization

Request body

descriptionstring

The description of the organization

emailstring

The email address of the organization

full_namestring

The full display name of the organization

locationstring

The location of the organization

repo_admin_change_team_accessboolean

Whether repository administrators can change team access

usernamestring required

username of the organization

visibility'public' | 'limited' | 'private'

possible values are public (default), limited or private

websitestring

The website URL of the organization

Response

Organization

avatar_urlstring

The URL of the organization's avatar

descriptionstring

The description of the organization

emailstring

The email address of the organization

full_namestring

The full display name of the organization

idinteger

The unique identifier of the organization

locationstring

The location of the organization

namestring

The name of the organization

repo_admin_change_team_accessboolean

Whether repository administrators can change team access

usernamestring

username of the organization deprecated

visibility'public' | 'limited' | 'private'

The visibility level of the organization (public, limited, private)

websitestring

The website URL of the organization