Light mode version of Land Your Home
V1Invites

Delete Invite

DELETE
/v1/invites/{inviteId}

The sender revokes an invite that is still pending (revoked invites can't be accepted).

Required variables:

  • baseUrl
  • apiKey (needs invites:write)
  • userToken
  • inviteId

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

inviteId*string

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/invites/string"
{  "data": {    "id": "4f6c7d1e-2c1e-4a3a-9d55-1d3a2f0b9a10"  }}