Delete Team Member
Removes a member from the team. Team admins only; the last admin can't be removed (409). Removal is permanent for the run: reset the database to repeat.
Required variables:
- baseUrl
- apiKey (needs
teams:write) - userToken
- teamId (set by
Get Teams) - teamMemberId (set by
Get Team Members)
Authorization
bearerAuth userTokenAuth Partner API key (lyh_...): identifies the calling partner, its scopes and rate limit.
In: header
The user's OAuth 2.1 access token, issued by Land Your Home's OAuth server to this partner's OAuth client. Requests run as this user.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/teams/string/members/string"{ "data": { "id": "a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3", "removed": true }}Patch Team Member
Changes a member's role to admin, member or billing admin. Team admins only; the last admin can't be demoted (409).
Get Team Members
The active members of a team the user belongs to, named as they have chosen to be seen. id is stable for you and that person but is not their user id; an email they keep private is null. Sets teamMemberId to a member who is not the user.

