Groundeddocs
ReferenceTeams

Remove a member, or leave the team (your own user ID)

DELETE/v1/teams/{team}/members/{userId}

409 sso_managed (details {ruleId, group}) when an SSO group mapping rule manages the membership: the person would be added again at their next sign-in. 409 last_owner for the team's only owner.

Path Parameters

team*string

Team slug or ID

userId*string
Formatuuid

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/teams/string/members/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "data": {    "ok": true  }}