organization

Edit an organization

Changed on
patch/orgs/{org}

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

orgstring required

name of the organization to edit

Request body

descriptionstring

The description of the organization

emailstring

The email address of the organization; use empty string to clear

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

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

possible values are public, 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

Changes