List a team's members
GET /teams/{id}/members
Returns a team’s direct members, newest first. Roles, follows and membership of teams below it don’t put anyone on this list on their own.
You need to be signed in with teams.read granted globally; others
get 403. Without a session cookie or bearer token that identifies
you, the answer is 401, whether or not public mode is on. An id
that isn’t a UUID gets a plain-text 400 before sign-in is checked.
The team isn’t looked up, so an id with no team gives an empty list,
and a deleted team still lists its members. Members added at the
same moment come by user_ref, and there’s no paging.
Only memberships whose account still exists are listed, so the list
can be shorter than the team’s member_count in listTeams;
accounts are listed whatever their status. Anyone who can call this
sees each member’s username and display name where they have one,
and the ref of whoever added them where it was recorded. Server
errors get a plain-text 500.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The team’s id.
Responses
Section titled “ Responses ”The team’s direct members, newest first.
object
The team’s id.
The member’s account ref.
When the membership was first added. Adding the member again doesn’t change it.
The ref of whoever added the member. Left out when not recorded.
The member’s username. Left out if the account has none.
The member’s profile display name. Left out when they have no
profile or it’s empty; fall back to username.
Authentication required, missing, or invalid
object
Human-readable error summary
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Authenticated but missing required capabilities
object
Human-readable error summary
Example
the request could not be completedResource not found
object
Human-readable error summary
Example
the request could not be completed