Remove team member (Legacy)

Deprecation notice

The "Remove team member" endpoint (described below) is deprecated.

We recommend using the Remove team membership endpoint instead. It allows you to remove both active and pending memberships.

To remove a team member, the authenticated user must have 'admin' permissions to the team or be an owner of the org that the team is associated with. Removing a team member does not delete the user, it just removes them from the team.

DELETE /teams/:team_id/members/:username

Response

Status: 204 No Content