Profile

Add / Update profile's avatar.

Image must be a scared image with minimum size of 16 of type image/png, image/jpeg or image/gif

post/2/profile/avatar

Request

  • Base URL
    https://api.infomaniak.com
  • URL
    https://api.infomaniak.com/2/profile/avatar
  • Auth
    HTTP bearer

Request body

avatarstring required

Avatar

encodingstring required

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

Example response

{
  "result": "success",
  "data": {
    "avatar": "https://www.infomaniak.com/img/common/logo-infomaniak.svg"
  }
}

Changes

No recorded changes to this operation across all 40 revisions of this API.