curl --request PATCH \ --url https://api.thanx.com/users/:id \ --header 'Authorization: Bearer <token>' \ --data '{ "user": { "email": "<email>", "first_name": "<first_name>", "last_name": "<last_name>" } }'
{ "user": { "id": "wroeiu2304hfwf", "email": "john.smith@example.com", "phone": "+14158672345", "first_name": "Jane", "last_name": "Smith", "birth_date": { "year": 1987, "month": 8, "day": 14 }, "zip_code": "12345" } }
This endpoint updates the specified user’s information.
Show birth_date
+14157582345