Update and Crop a User Photo

This example crops an existing photo (a photo that has already been uploaded). You can also upload and crop a photo. To upload a new photo you must use a multipart/form-data request. See Uploading Binary Files. To use this example to update and crop a group photo, substitute /chatter/groups/groupId/photo.

Resource
/chatter/users/userId/photo
HTTP method
POST
Request body
Photo Input
Request parameters
cropSize, cropX, cropY, fileId
Request body example
Request parameter example
Returns
Photo