Admin Settings: Users
Upload an admin user avatar
Changed onSend multipart/form-data with image (jpeg, jpg, png, gif, max 10000 KB). Replaces the current avatar. Returns the user detail.
post/settings/users/{id}/image
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Example:3
Admin user ID.
Request body multipart/form-data
Response
Avatar stored. Returns the user detail.
Changes
- info
endpoint added
- info