edit profile
PUT
{{tessla}}/edit-profile
Last modified:2025-04-20 15:22:00
Maintainer:Not configured
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location -g --request PUT '{{tessla}}/edit-profile' \
--header 'Accept: application/json' \
--header 'Accept-Language: ar' \
--header 'Content-Type: application/json' \
--data-raw '{
"user_id": 23,
"name": "mohamad",
"email": "vasunubi@mailinator.com",
"address": "dskgfusdf",
"phone": "6546546546464",
}'
Response Response Example
{"data":{"id":12,"name":"mohamad","email":"vasunubi@mailinator.com","phone":"6546546546464","address":"dskgfusdf","email_verified_at":null,"verified_at":"2025-04-19 20:26:25","verification_code":"123456","type":"captain","gender":"male","is_active":true,"personal_photo":null,"created_at":"2025-04-19T20:26:25.000000Z","updated_at":"2025-04-20T15:22:35.000000Z","is_boolean":1,"wallet_balance":"0.00","username":null,"captain":{"id":2,"user_id":12,"width":"45","height":"54","motor_number":null,"license_photo":null,"criminal_record":null,"latitude":null,"longitude":null,"id_photo":null,"photo":null,"created_at":"2025-04-20T14:14:32.000000Z","updated_at":"2025-04-20T14:14:32.000000Z","car_id":1,"model_car_id":1,"manufacture_year_id":1,"color_car_model_id":1,"id_back_photo":null,"vehicle_coding":null,"plate_number":null,"car_size":"S","number_passengers":1},"client":null},"message":"تم تحديث الملف الشخصي بنجاح","status":true}
Request
Header Params
Accept
string
required
Example:
application/json
Accept-Language
string
required
Example:
ar
Body Params application/json
Responses
Modified at 2025-04-20 15:22:00