Newer Version Available
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, use a multipart/form-data request. See Uploading Binary Files.
- Resource
- /connect/user-profiles/userId/photo
- HTTP method
- POST
- Request body
- Photo Input
- Request body example
-
- Request parameters
- cropSize, cropX, cropY, fileId
- Request parameter example
-
- Returns
- Photo