Upload a user's profile picture
POST {{baseUrl}}/users/:userId/picture
Upload a user's profile picture. For user-level apps, pass the me
value instead of the userId
parameter.
Provide multipart/form-data
as the value of the content-type
header for this request. This API supports .jpeg
and .png
file formats.
Scopes: user:write:admin
,user:write
Rate Limit Label: Medium
Request Body
[{"name"=>"pic_file", "value"=>"<string>", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{}