Developer
News and Updates
Get Support
Sign in
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
  • Access Mode
  • Admin Group
  • Admin Space
  • Admin User
  • Admin Users
  • Attachments
  • Backup and Restore
  • Category
  • Child Content
  • Cluster information
  • Content Blueprint
  • Content Body
  • Content Descendant
  • Content Labels
  • Content Property
  • Content Resource
  • Content Restrictions
  • Content Version
  • Content Watchers
  • Global Permissions
  • GlobalColorScheme
  • Group
  • Index Management
  • Instance Metrics
  • Label
  • Long Task
  • Server Information
  • Space
  • Space Label
  • Space Permissions
  • Space Property
  • Space Watchers
  • SpaceColorScheme
  • User
  • User Group
  • User Watch
  • Webhooks
  • Other operations
Server
Confluence Data Center / / REST API

Admin Users

Postman Collection
OpenAPI
GET

Get active users

Gets a paginated collection of all active users (users which count into license usage). This will exclude users that are:

  • anonymous,
  • deactivated,
  • externally deleted,
  • shadowed
  • unlicensed

This feature relies on search index and might not be accurate when site reindex is in progress.

Depending on the type of the user the response can include the following fields:

  • email: The user's email address.
  • lastLogin: The date and time of the user's last successful login. Required "lastLogin" expansion.
  • type: The type of user (e.g., known, anonymous).
  • username: The user's username.
  • userKey: The unique key identifying the user.
  • displayName: The user's full display name.

Example request URI(s): http://example.com/confluence/rest/api/admin/users/list/active http://example.com/confluence/rest/api/admin/users/list/active?start=0 http://example.com/confluence/rest/api/admin/users/list/active?start=0&limit=100 http://example.com/confluence/rest/api/admin/users/list/active?start=0&limit=100&expand=status

Forge and OAuth2 apps cannot access this REST resource.

Request

Query parameters

expand

string

limit

integer

start

integer

Responses

returns a paginated collection of users.

application/json

object
GET/rest/api/admin/users/list/active
1 2 3 curl --request GET \ --url 'http://{baseurl}/confluence/rest/api/admin/users/list/active' \ --header 'Accept: application/json'
200Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 { "results": [ { "profilePicture": { "path": "http://www.example.com/path/to/image.png", "width": 16, "height": 16, "isDefault": true }, "displayName": "Joe Smith", "type": "<string>" } ], "totalCount": 2154, "start": 25, "limit": 25, "size": 25, "_links": { "base": "http://localhost:8085/confluence", "context": "confluence", "self": "http://localhost:8085/rest/api/latest/..?limit=25&start=25", "next": "http://localhost:8085/rest/api/latest/..?limit=25&start=50", "prev": "http://localhost:8085/rest/api/latest/..?limit=25&start=0" } }

Rate this page: