Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get all avatars for user

Returns all avatars which are visible for the currently logged in user.

GET/api/2/user/avatars
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Query parameters
usernamestring

username

Responses
200

Returns a map containing a list of avatars for both custom an system avatars

idstring
ownerstring
selectedboolean
401

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.

Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/api/2/user/avatars' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "id": "1000",
  "owner": "fred",
  "selected": true
}

Was this page helpful?