Authorization: Bearer ********************
curl --location --request PUT 'http://localhost:8000/api/update-name' \
--header 'Authorization: Bearer {{user_token}}'
{
"status_code": 200,
"data": {
"id": 1,
"name": "NewName",
"email": "johndoe@example.com",
"email_verified_at": null,
"created_at": "2025-03-13T08:44:50.000000Z",
"updated_at": "2025-03-13T08:50:23.000000Z"
},
"message": "Name updated successfully!"
}