set_profile_photo
POST https://api.dropboxapi.com/2/account/set_profile_photo
scope: account_info.write
Sets a user's profile photo.
Request Body
{"photo"=>{".tag"=>"base64_data", "base64_data"=>"SW1hZ2UgZGF0YSBpbiBiYXNlNjQtZW5jb2RlZCBieXRlcy4gTm90IGEgdmFsaWQgZXhhbXBsZS4="}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Dropbox-API-Path-Root | string | ||
Dropbox-API-Select-User | string |
RESPONSES
status: OK
{"profile_photo_url":"https://dl-web.dropbox.com/account_photo/get/dbaphid%3AAAHWGmIXV3sUuOmBfTz0wPsiqHUpBWvv3ZA?vers=1556069330102\u0026size=128x128"}