/
How to add profile picture in Confluence using Confluence Command Line Interface (CLI)

How to add profile picture in Confluence using Confluence Command Line Interface (CLI)

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

Instructions

Perform the following 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:

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

Related content

Images of attachment-types are missing for {report-image:content:icon}
Images of attachment-types are missing for {report-image:content:icon}
More like this
How to Create a Confluence Space Using the Confluence CLI
How to Create a Confluence Space Using the Confluence CLI
More like this
How to Create a Confluence Space Using the Confluence CLI
How to Create a Confluence Space Using the Confluence CLI
More like this
User Guide - Server/DC
User Guide - Server/DC
More like this
Create a snapshot
More like this