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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"url":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}