Upload user avatar
User
Upload user avatar
Upload avatar image to public storage and save URL to user profile.
POST
Upload user avatar
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Body
application/json
Request schema for uploading user avatar.
Base64 encoded image file (with or without data URL prefix)
Response
Successful Response
Response schema for avatar upload.