Get all avatars for user
Returns all avatars which are visible for the currently logged in user.
GET
/api/2/user/avatarsAuthorization
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
or
AuthorizationBearer token · headerrequiredPersonal Access Token — Administration > Profile > Personal Access Tokens
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
Query parameters
usernamestringusername
Responses
200
Returns a map containing a list of avatars for both custom an system avatars
idstringownerstringselectedboolean401
Returned if the current user is not authenticated.
404
Returned if the requested user is not found.
500
Returned if an error occurs while retrieving the list of avatars.