/updateprimaryphoto [POST]

Select a new primary photo (and unselect any previously selected primary photo) - protected.

Since the order of photos will change at this point, you should GET /photo again if this call succeeds.

Parameters

  • photoid (numeric) [REQUIRED] - a photo ID that belongs to the current member (and has been marked as valid for primary by Customer Service screening - an appropriate headshot)

Response Messages

403 Forbidden - if photoid is missing or does not identify a photo belonging to the current member that is also marked as valid for primary

{ "fail" : "Invalid Argument" }

200 OK - success

Returns the updated member’s profile information. Note: this may change the avatar for the user so the photo URLs returned in this may have changed.

{ user status information + `photos` }

This returns the User Status Information with an additional field, "photos", which has the result of GET /photo.