Update Profile Picture
PUT
/v1/user-profile/pictureUpload your own profile picture.
Request
Header Params
Accept
string
required
Example:
application/json
Content-Type
string
required
Example:
application/json
Body Params multipart/form-data
picture
file
optional
Accepted image types are: image/png, image/jpeg and image/gif.
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
object
required
id
integer
required
type
string
required
attributes
object
required
Example
{
"data": {
"id": 420942,
"type": "profile",
"attributes": {
"firstname": "Alyx",
"lastname": "Vance",
"email": "g.freeman@emailprovider.com",
"phone": "+391234569856",
"country": "US",
"picture": "https://servebolt.com/pictures/420942.png"
}
}
}
Last modified: 7 months ago