Organizations

Create an organization

Creates an organization for the authenticated user.

post/user/orgs

Request

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

Request body

usernamestring required
full_namestring
descriptionstring
websitestring
locationstring

Response

Organization created successfully.

idinteger
usernamestring
full_namestring
avatar_urlstring
descriptionstring
websitestring
locationstring

Changes

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