Light mode version of Land Your Home
V1Me

Patch Me

PATCH
/v1/me

Only the fields sent change. null clears contact.phone, company.name and company.website. Unknown fields are rejected.

Required variables:

  • baseUrl
  • apiKey (needs profile:write)
  • userToken

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

Response Body

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/me"
{  "data": {    "name": {      "salutation": "Dr",      "firstName": "Alex",      "lastName": "Morgan",      "visibility": "full"    },    "contact": {      "email": "alex@example.com",      "emailVisibility": "Direct",      "phone": "+447700900123",      "phoneVisibility": "Private"    },    "company": {      "name": "Morgan Conveyancing",      "website": "https://morgan.example.com",      "visibility": "Public"    }  }}