User

Upload photo

Upload a photo for a user. This function is only available through a JWT token, and is not available for all users.

post/api/users/{userId}/photo

Request

Path parameters

userIdinteger required

User ID

Request body multipart/form-data

photostring binary required

Response

OK

successboolean required

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

urlstring required

Changes

No recorded changes to this operation across all 1 revision of this API.