User avatar
Requests
| HTTP verb | Endpoint | Description |
|---|---|---|
|
|
|
|
|
|
|
|
For all requests:
Domain type: any
Getting the user avatar
Returns the user 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 a content type corresponding to the file extension.
Information about avatar presence and image metadata is present in the user account in the 'opts.avatar_info' field.
It is available in the API /rest/v1/iam/users.
Uploading the user avatar image
Allows uploading an image file used as the user avatar.
On successful upload, file metadata is set in the user account (the 'opts.avatar_info' field).
Files up to 200 KB are allowed for upload.
Deleting the user avatar image
Allows deleting the image file used as the user avatar.
File metadata in the user account is replaced with the value 'false'.