Admin Authentication
Upload my avatar
Changed onUploads (or replaces) the authenticated admin's avatar. Multipart fields: image (bmp, jpeg, jpg, png or webp), current_password, and an optional file_name.
post/account/image
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body multipart/form-data
Response
The updated profile.
Changes
- info
endpoint added
- info