organization

List a user's organizations

Changed on
get/users/{username}/orgs

Request

  • Base URL
    https://demo.gitea.com/api/v1
  • Auth
    • HTTP basic
    • or API key in query parameter token
    • or API key in query parameter access_token
    • or API key in header Authorization
    • or API key in query parameter sudo
    • or API key in header Sudo
    • or API key in header X-GITEA-OTP
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

usernamestring required

username of the user whose organizations are to be listed

Query parameters

pageinteger

page number of results to return (1-based)

limitinteger

page size of results

Response

OrganizationList

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

Changes