User-Endpoint
Operatores
Edit Profile

PATCH Edit Profile

In this request you can change your account information like name Important Note:you must active your account first. you can active account by verify it

 http://127.0.0.1:8080/user
Request Headers

The request should include the following header:

Authorization : Bearer TOKEN

The TOKEN should be replaced with the actual user token obtained during the login process.

Body raw (json)

The request body should contain the updated account information:

{
    "name":"Adel Ayman"
}
Response

Upon successful profile update, the API will respond with the following structure:

{
    "status": true,
    "data": {
        "userID": "63d5b2c8db392954ecae9737",
        "userToken": null,
        "userName": "Adel Ayman",
        "email": "adelayman0000@gmail.com",
        "isVerified": true,
        "fcmToken": "YOUR_FCM_TOKEN"
    },
    "message": "user details updated successfully"
}