Skip to main content
User ProfileUpdating user preference
TestMu AI
StatusCommunityBlog
User Profile

Updating user preference

Updating user preference

PATCH
/api/user/preference/{product}
Updating user preference
curl --request PATCH \
--url "https://auth.lambdatest.com//api/user/preference/{product}" \
--header "Authorization: Basic <encoded-value>"
{
"message": "Preference is Updated successfully.",
"type": "success"
}

Authorizations

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

productstringrequired

Product name

Response

application/json

Success

messagestring
typestring
Updating user preference
curl --request PATCH \
--url "https://auth.lambdatest.com//api/user/preference/{product}" \
--header "Authorization: Basic <encoded-value>"
{
"message": "Preference is Updated successfully.",
"type": "success"
}