Teams
Remove Team Member
Removes a member from a team by their customer ID.
DELETE
Remove Team Member
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
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
Remove Team Member