Administration

Create an organization

Requires the authenticated user to be a site administrator.

post/admin/users/{username}/orgs

Request

  • Base URL
    https://gogs.example.com/api/v1
  • Auth
    API key in header Authorization

Path parameters

usernamestring required

Username

Request body

usernamestring required
full_namestring
descriptionstring
websitestring
locationstring

Response

Created

idinteger
usernamestring
full_namestring
avatar_urlstring
descriptionstring
websitestring
locationstring

Changes

No recorded changes to this operation across all 3 revisions of this API.