Update user by id
cURL
curl --request PATCH \ --url https://api-dev.monyfix.tech/users/me \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form 'avatar=<string>' \ --form 'first_name=<string>' \ --form 'last_name=<string>' \ --form 'username=<string>' \ --form avatar.0='@example-file'
200
Example
{ "id": "<string>", "phone": "<string>", "first_name": "<string>", "last_name": "<string>", "username": "<string>", "avatar_url": "<string>", "is_verified": true, "format_balance": "<string>", "balance": 123, "rating": { "level": { "id": 123, "name": "<string>", "queue": 123, "max_points": 123, "price_range_min": 123, "price_range_max": 123 }, "points": 123 }}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Show child attributes