API Reference version 2

Update photo

PUT/v2/user/{id_or_email}/photo

Update a user photo. A guest cannot be updated.

Path parameters

Type Parameter Description Required?
string id_or_email

The id, email address, or mention name (beginning with an '@') of the user to update.

Required

Request body

Type Property Description Required?
string photo

The user photo as a base64 encoded string

Required
204 No content

Notes

  • Accepted image types are JPEG, PNG and GIF