Teams
Remove Team Member
Removes a member from a team by their customer ID.
DELETE
Remove Team Member
Documentation Index
Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt
Use this file to discover all available pages before exploring further.
Remove Team Member
Removes a single member from a team. The customer cannot remove themselves — attempting to do so returns aCANNOT_REMOVE_ITSELF error. Members with active contracts should have their contracts cancelled before removal.
Authentication
Requires a valid customer bearer token. The customer must be a team administrator of the specified team.Path Parameters
Numeric identifier of the team. Returned as
Id from GET /api/public/teams/my.Numeric identifier of the customer to remove. Returned as
Id in the AllTeamMembers array from GET /api/public/teams/{teamId} /profile.Response
Returns HTTP200 OK with an empty body on success.
Examples
Remove a member
TypeScript Integration
Usage in Portal
| Context | Source file |
|---|---|
Team members table (/team/members/{teamId}) | src/views/user/team/members/components/TeamMembersTableSection.tsx |
Error Responses
The customer is not authenticated or the session has expired.
The customer is not an administrator of the specified team.
The request is invalid — for example, the member has active contracts, or the response message is
CANNOT_REMOVE_ITSELF when attempting
self-removal.Team or member with the specified ID does not exist.
Related Endpoints
| 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 |
Remove Team Member