Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article explains how to add a profile picture in Confluence using the Confluence Command Line Interface app.

Instructions

Perform the below following action command to add a profile picture to a user in Confluence.:

Code Block
themeMidnight
--action addUserPicture --userId "krishna" --file "picture.png" --mime "png"

In the above command:

  • --userId value, "krishna" is the userId for which we added user picture , refers to the user for which the profile picture is to be added.
  •  --file value, "picture.png", is refers to the name of the image which is available in the CLI directory for --file.
  • --mime is refers to the optional parameter that is used for indicating to indicate the extensions of the --file parameter.