/teams/:id/members/:memberId

Removes a member from a team. A team admin or workspace admin can remove anyone except the last accepted admin; a member with the member role can remove themselves to leave the team. Pending invites can be removed the same way.

Anything the removed person shared with the team stops being shared with it. The response body is true.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The team's _id.

string
required

The member's memberId from the team's member list. This is not the user id.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json
Psst... like working with APIs? Come join us!