cURL
curl --request PATCH \ --url https://api.faces.sh/auth/me \ --header 'Content-Type: application/json' \ --data ' { "current_password": "<string>", "username": "<string>", "email": "<string>" } '
{ "success": true, "messages": [], "data": { "user_id": "<string>", "username": "<string>", "email": "<string>", "name": "<string>", "is_admin": true }, "error": "<string>", "meta": {} }
Update the authenticated user’s username and/or email. Requires current password.
Successful Response
Show child attributes