Remove a member
Remove a user from a team. Requires administrator access to the team. The last member of a team cannot be removed; removing the second-to-last one promotes the remaining member to owner. Use it when a team administrator explicitly asks to take a user off the team.
Remove a user from a team. Requires administrator access to the team. The last member of a team cannot be removed; removing the second-to-last one promotes the remaining member to owner. Use it when a team administrator explicitly asks to take a user off the team.
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.
1 <= lengthIdentifier of the user to act on — the user.id returned by listAccountMembers, which is the user's account id.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/accounts/string/members/string"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.
List pending invites GET
List the pending invitations to join a team, most recent first. Requires administrator access to the team. Use it to check who has been invited to a team but has not joined yet.