Skip to main content
PUT
/
v1
/
user-preferences
cURL
curl --request PUT \
  --url https://api.lighthousefh.com/v1/user-preferences \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "default_location_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "selected_organization": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "status": "<string>",
  "timestamp": "2023-11-07T05:31:56Z",
  "data": {
    "created_at": "2023-11-07T05:31:56Z",
    "selected_organization": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "user_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "default_location_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  },
  "message": "<string>",
  "request_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
default_location_uuid
string<uuid> | null
selected_organization
string<uuid> | null

Response

Preference updated

status
string
required
timestamp
string<date-time>
required
data
object
message
string | null
request_id
string | null