Light mode version of Land Your Home
V1Teams

Delete Team Licence Assignment

DELETE
/v1/teams/{teamId}/licences/{licenceId}/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.

Required variables:

  • baseUrl
  • apiKey (needs licences:write)
  • userToken
  • teamId (set by Get Teams)
  • assignedLicenceId (set by Put Team Member Licence)

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
licenceId*string

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/teams/string/licences/string/assignment"
{  "data": {    "id": "11c0de00-0000-4000-8000-000000000001"  }}