Users
put/u/{username}/preferences/avatar/pick.json

Request

  • Base URL
    https://discourse.example.com
  • Auth
    none declared

Path parameters

usernamestring required

Request body

OR
OR

Response

avatar updated

successstring required

Example response

{
  "success": "OK"
}

Changes

    • breaking

      removed the enum value custom of the request property

    • breaking

      removed the enum value gravatar of the request property

    • breaking

      removed the enum value system of the request property

    • breaking

      removed the enum value uploaded of the request property

    • info

      added the new optional request property

    • info

      added subschema #1 subschema #2 subschema #3 to the request body oneOf list

    • info

      the request property became optional

    • info

      endpoint added