Administration

Add team membership

Requires the authenticated user to be a site administrator.

put/admin/teams/{teamid}/members/{username}

Request

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

Path parameters

teamidstring required

Team ID

usernamestring required

Username

Response

Team membership has been updated.

Changes

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