API7 Docs

List Team Members

GET /teams/{team_id}/members

GET /teams/{team_id}/members

Interactive request editor loads with JavaScript.

Authorization

BearerAdminToken
AuthorizationBearer <token>

Organization-scoped admin token. Read operations require a valid token, and write operations require a token with write permission.

In: header

Path Parameters

team_id*string

Team ID within the organization.

Formatuuid

Response Body

application/json

application/json

application/json

application/json

curl -X GET "$AISIX_CP/teams/$TEAM_ID/members" \  -H "Authorization: Bearer $AISIX_TOKEN"

OK

{
  "data": [
    {
      "team_id": "810007d0-bec5-486c-b5d1-28fcd8a079ba",
      "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
      "email": "string",
      "display_name": "string",
      "role": "lead",
      "added_by": "6f5851d8-8a63-4597-95ec-4f964b8e7696",
      "added_at": "2019-08-24T14:15:22Z"
    }
  ]
}
Complete operation details and schema variants

GET /teams/{team_id}/members

List Team Members

List everyone on the team, with the organization email and display name resolved alongside the team role.

Parameters

  • team_id (path, string, required): Team ID within the organization.

Responses

  • 200: OK

  • data (array, required):

  • data[].team_id (string, required):

  • data[].user_id (string, required): Organization member on the team.

  • data[].email (string, required): Member's organization email, resolved for convenience.

  • data[].display_name (string, required): Member's display name, resolved for convenience.

  • data[].role (string, required): Role within this team. A team must keep at least one lead.

  • data[].added_by (string, required):

  • data[].added_at (string, required):

  • 400: Request body or parameters failed validation.

  • error (object, required): Error details.

  • error.code (string, required): Machine-readable identifier. Examples: UNAUTHENTICATED, INVALID_REQUEST, MASTER_KEY_UNSET, INTERNAL.

  • error.message (string, required): Human-readable explanation; safe to surface to operators.

  • 401: Missing or invalid bearer. Response fields (application/json): identical to GET /teams/{team_id}/members, response 400 above.

  • 404: Resource not found. Response fields (application/json): identical to GET /teams/{team_id}/members, response 400 above.

cURL

curl -X GET '$AISIX_CP/teams/{team_id}/members' -H 'Authorization: Bearer $AISIX_TOKEN'