user

Upload a user avatar

Changed on

Upload a user avatar. This will also set the user's avatar provider to "upload"

put/user/settings/avatar/upload

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/user/settings/avatar/upload
  • Auth
    API key in header Authorization

Request body multipart/form-data

avatarstring required

The avatar as single file.

Response

The avatar was set successfully.

messagestring

A standard message.

Changes