User Profile › Edit name by User
User Profile
Edit name by User Edit name by User
curl -- request POST \
-- url "https://auth.lambdatest.com/api/user" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"name" : "pawan rai"
} '
{
"message" : "User profile updated successfully" ,
"type" : "success"
}
Authorizations Authorization string header required
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Response 200▼
application/json Edit name User success
curl -- request POST \
-- url "https://auth.lambdatest.com/api/user" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"name" : "pawan rai"
} '
{
"message" : "User profile updated successfully" ,
"type" : "success"
}