Upload photo

POST {{baseUrl}}/api/users/:userId/photo

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

Request Body

[{"name"=>"photo", "value"=>"<binary>", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;url&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}