Removes a member from a team by their customer ID.
CANNOT_REMOVE_ITSELF error. Members with active contracts should have their contracts cancelled before removal.
Id from GET /api/public/teams/my.Id in the AllTeamMembers array from GET /api/public/teams/{teamId} /profile.200 OK with an empty body on success.
| Context | Source file |
|---|---|
Team members table (/team/members/{teamId}) | src/views/user/team/members/components/TeamMembersTableSection.tsx |
CANNOT_REMOVE_ITSELF when attempting
self-removal.| Method | Endpoint | Description |
|---|---|---|
POST | /api/public/teams/{teamId}/members | Add members to a team |
GET | /api/public/teams/{teamId}/profile | Full team profile |
GET | /api/public/teams/my | List the customer’s teams |
PUT | /api/public/teams/{teamId}/permissions/{memberId} | Update member permissions |