Update user avatar

Log in to see full request history
Path Params
string
required

user identifier

Body Params
file
required

The file to upload.

Responses
204

Avatar successfully updated

boundary parameter in HTTP Request Content-Type header
  • boundary between parts
  • Content-Disposition header in at least one part
  • name parameter in at least one Content-Disposition header.
    Please check reference: https://tools.ietf.org/html/rfc7578#section-4
  • MISSING_FILE_PART when missing part with name file (file is case sensitive)

  • MISSING_FILE_NAME when filename is not available in file part

  • MISSING_MEDIA_TYPE when media type in Content-Type header is not available in file part

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