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>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
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>"
}