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

Get registered users

Gets a paginated collection of all registered users, including but not limited to:

  • Disabled users
  • Enabled users
  • Enabled users which count towards the license count on the site
  • Enabled users which do not count towards the license count on the site
  • Enabled users which have “can use” global permissions
  • Enabled users which do not have “can use” global permissions

Example request URI(s):

http://example.com/confluence/rest/api/user/list http://example.com/confluence/rest/api/user/list?start=0 http://example.com/confluence/rest/api/user/list?start=0&limit=100 http://example.com/confluence/rest/api/user/list?start=0&limit=100&expand=status

GET/rest/api/user/list
Query parameters
expandstring

properties to expand on the user.

limitstring

the limit of the number of users to return, this may be restricted by fixed system limits.

startstring

the start point of the collection to return. This must be non-negative. Default value is 0.

Responses
200

returns a paginated collection of users.

resultsPerson[]
Show properties
Array of Person
profilePictureIcon
Show properties
pathstring
widthinteger<int32>
heightinteger<int32>
isDefaultboolean
displayNamestring
typestring
startnumber
limitnumber
sizenumber
_linksobject
Show properties
basestring
selfstring
contextstring
nextstring
prevstring
403

Returned if the calling user does not have permission to view users. This is possible for anonymous or un-licensed users.

statusCodeinteger<int32>
dataValidationResult
Show properties
authorizedboolean
validboolean
errorsobject
successfulboolean
allowedInReadOnlyModeboolean
messagestring
reasonstring
Try it
Server
Parameters
Request
curl -X GET 'http://example.com:7990/confluence/rest/api/user/list' \
  -H 'Accept: application/json'
Response
{
  "results": [
    {
      "profilePicture": {
        "path": "http://www.example.com/path/to/image.png",
        "width": 16,
        "height": 16,
        "isDefault": true
      },
      "displayName": "Joe Smith",
      "type": "string"
    }
  ],
  "start": 25,
  "limit": 25,
  "size": 25,
  "_links": {
    "base": "http://localhost:8085/rest/api",
    "self": "http://localhost:8085/rest/api",
    "context": "http://localhost:8085/rest/api",
    "next": "http://localhost:8085/rest/api/latest/../paginate?limit=25&start=50",
    "prev": "http://localhost:8085/rest/api/latest/../paginate?limit=25&start=0"
  }
}

Was this page helpful?