This article explains how to add a profile picture in Confluence using the Confluence Command Line Interface app.
Instructions
Perform the below action command to add a profile picture to a user in Confluence.
--action addUserPicture --userId "krishna" --file "picture.png" --mime "png"
In the above command "krishna" is the userId and "picture.png" is the name of the image which is available in the CLI directory. --mime is the optional parameter that is used for indicating the extensions of the --file parameter.