Teams
Remove a user from a team
All the users are allowed to remove themselves from a team (user_id=me). Only the users who have the $remove_members permission are allowed to remove other users from a team. team_id is must an ID of a team that the user is a member of.
delete/team-memberships/{team_id}/{user_id}
Path parameters
team_idstring required
user_idstring required
The ID of the user, or the special value me for the currently authenticated user
Example:3241a285-8329-4d69-8f3d-316e08cf140c
The ID of the user, or the special value me for the currently authenticated user
Response
Successful response
Example response
{
"success": true
}