v1
latestOpenAPI 3.0.02026-08-04891301.4 MBRemove a member or org from a team
Removes a user, agent, or all members of an organization from the specified team. Provide exactly one of user, agent, or org — supplying more than one or none returns a 400 error. On success, returns 204 No Content.
When org is provided, every user and agent membership belonging to that org is removed in a single call. The caller must be a member of the team's owning org to perform an org-scoped removal. You cannot target the team's owning org itself with this parameter.
The caller must have permission to manage the team. When app is present, the request is scoped to that app and requires a valid app-scoped token.
delete/api/v1/teams/{team}/members
Path parameters
teamstring required
Team ID (team_...). The team to remove the member from.
Response
No content