Upload or update user avatar

Upload a new avatar image or update the dimensions of an existing avatar. Either an avatar file or width/height must be provided.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required
Body Params
file

Image file to upload (image/* or image/webp, max 2MB)

integer

Image display height in pixels (default: 64)

integer

Image display width in pixels (default: 64)

Responses

404

User was not found

413

Uploaded avatar file exceeds the maximum allowed size (2MB)

422

Invalid file type or no avatar to update dimensions for

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json