Light mode version of Land Your Home
V1Teams

Post Team Leave

POST
/v1/teams/{teamId}/leave

The user leaves the team. The seeded user is the team's only admin, so this returns 409: the last admin can't leave while other members remain.

Required variables:

  • baseUrl
  • apiKey (needs teams:write)
  • userToken
  • teamId (set by Get Teams)

Path Parameters

teamId*string

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/teams/string/leave"
{  "data": {    "id": "00000000-0000-0000-0000-000000000001",    "left": true  }}