Edit profile
This endpoint allows the authenticated user to edit their profile details.
Header parameters
AuthorizationstringRequired
Bearer token for authentication.
Body
usernamestringRequiredExample:
john_doephoneNumberstringRequiredExample:
+1234567890emailstringRequiredExample:
[email protected]addressstringOptionalExample:
123 Main St, SpringfieldavatarstringOptionalExample:
http://example.com/avatar.jpgResponses
200
Successfully updated the user profile
*/*
statusintegerOptional
messagestringOptional
400
Bad Request, invalid input or missing fields
*/*
post
/auth/edit-profile