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).
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
application/json
curl -X PATCH "https://example.com/v1/teams/string/members/string"{ "data": { "id": "a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3a3", "role": "billing admin" }}Delete Team Licence Assignment
Takes a licence back from whoever holds it, returning it to the team's pool. Team admins only; the licence must belong to this team.
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.

