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.

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

422

Invalid file type, file too large, or no avatar to update dimensions for

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