Edit profile

Edit user profile

post
/auth/edit-profile

This endpoint allows the authenticated user to edit their profile details.

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Body
usernamestringRequiredExample: john_doe
phoneNumberstringRequiredExample: +1234567890
emailstringRequiredExample: [email protected]
addressstringOptionalExample: 123 Main St, Springfield
avatarstringOptionalExample: http://example.com/avatar.jpg
Responses
chevron-right
200

Successfully updated the user profile

*/*
statusintegerOptional
messagestringOptional
post
/auth/edit-profile