List all members of a team
curl --request GET \
--url https://gogs.example.com/api/v1/admin/teams/{teamid}/members \
--header 'Authorization: <api-key>'[
{
"id": 123,
"username": "<string>",
"login": "<string>",
"full_name": "<string>",
"email": "jsmith@example.com",
"avatar_url": "<string>"
}
]Administration
List all members of a team
Requires the authenticated user to be a site administrator.
GET
/
admin
/
teams
/
{teamid}
/
members
List all members of a team
curl --request GET \
--url https://gogs.example.com/api/v1/admin/teams/{teamid}/members \
--header 'Authorization: <api-key>'[
{
"id": 123,
"username": "<string>",
"login": "<string>",
"full_name": "<string>",
"email": "jsmith@example.com",
"avatar_url": "<string>"
}
]Authorizations
Personal access token. Use format: token {YOUR_ACCESS_TOKEN}
Path Parameters
Team ID