Post Team Licences Move
Moves the user's own licences that aren't in a team yet into this team's pool. Team admins only. Returns how many moved (0 if none were left).
Required variables:
- baseUrl
- apiKey (needs
licences:write) - userToken
- teamId (set by
Get Teams)
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
curl -X POST "https://example.com/v1/teams/string/licences/move"{ "data": { "moved": 1 }}Post Team 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.
Put Team Member Licence
Gives a member the oldest free licence of this type (protier or adaptiveqr) from the team's pool. Team admins only. 404 if the pool has none free. Sets assignedLicenceId.

