List a team's members
List the members of a team, with their role. Requires administrator access to the team. Use it when you need to know who belongs to a team or which role each member holds.
List the members of a team, with their role. Requires administrator access to the team. Use it when you need to know who belongs to a team or which role each member holds.
Authenticate as a user with a personal access token.
Send it as a bearer token in the Authorization header:
Authorization: Bearer <personal-access-token>Personal access tokens act on behalf of the user that created them and are required by endpoints that perform user actions, such as reviewing builds and posting comments.
In: header
Path Parameters
Slug of the team to list members for.
1 <= lengthQuery Parameters
Number of items per page (max 100)
Page number
Match members on their name, slug, or email address.
Restrict to the given roles, comma-separated (e.g. owner,member).
Ordering of the results. Defaults to date, most recently added first.
Value in
- "date"
- "name-asc"
- "name-desc"
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/accounts/string/members"{ "pageInfo": { "total": 0, "page": 0, "perPage": 0 }, "results": [ { "id": "string", "user": { "id": "string", "slug": "string", "name": "string" }, "level": "owner" } ]}Update a team's defaults PATCH
Change the role given to users that join a team through its invite link or a verified email domain. Requires administrator access to the team. Use it when a team administrator wants new joiners to start with a different role.
Change a member's role PATCH
Change the role of an existing team member. Requires administrator access to the team. Use it when a team administrator asks to promote or demote an existing member.