V1Teams
Put Team Member Licence
Gives a member the oldest free licence of this type (pro_tier or adaptive_qr) from the team's pool. Team admins only. 404 if the pool has none free. Sets assignedLicenceId.
Required variables:
- baseUrl
- apiKey (needs
licences:write) - userToken
- teamId (set by
Get Teams) - teamMemberId (set by
Get Team Members)
Authorization
bearerAuth userTokenAuth AuthorizationBearer <token>
Partner API key (lyh_...): identifies the calling partner, its scopes and rate limit.
In: header
X-User-Token<token>
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
teamId*string
memberId*string
Response Body
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/teams/string/members/string/licence"{ "data": { "id": "11c0de00-0000-4000-8000-000000000001" }}
