v18

latestOpenAPI 3.1.0raw.githubusercontent.com2022-08-0421329.6 KB
v3 team members

Leave team

Allows user to leave a team.

The authenticated user's id must match the param's userId.

If the authenticated user is the "administrator" then they can't leave the team.

The memeber's role will be updated to left.

patch/v3/teams/{teamId}/users/{userId}/leave

Response

Example response