User avatar
Requests
HTTP verb | Endpoint | Description |
---|---|---|
|
|
|
|
|
|
|
|
For all requests:
Domain Type: any
Retrieving user avatar
Returns the user’s avatar image.
If the '&attachment=true' parameter is added to the request URL, the file is downloaded as an attachment. Otherwise, the file is returned with the content type corresponding to the file extension.
Avatar information and image metadata are present in user account in the field 'opts.avatar_info'.
It’s available in API /rest/v1/iam/users.
Uploading user avatar image
Allows you to upload an image file to be used as the user’s avatar.
On successful upload, meta information about the file is put in user account (field 'opts.avatar_info').
Files up to 200 KB in size are allowed for uploading.
Deleting a user’s avatar image
Allows you to delete the image file used as the user’s avatar.
The meta-information about the file in user account is replaced with a value of 'false'.