As of December 31st, 2023 ThreadFix 2.X has reached End of Life and is no longer supported. For any further information please contact the Success and Implementation team.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

/rest/users/list


Descriptor

Value

HTTP Method

GET

Description

Returns a list of users.

Required Permission

Manage Users

Version Introduced2.5.1.12
Changes in 2.5.2Added activeDirectory element to the response. This field is present when using any previous REST version as well.


Request Header Parameters

Parameter

Value

Required

Description

Accept

String

Yes

A value of ‘application/json’ must be provided.


Sample Call:

curl -H 'Accept: application/json' -H "Authorization: APIKEY {apiKey}" https://localhost:8443/threadfix/rest/latest/users/list

Sample Output:


{
    "message": "",
    "success": true,
    "responseCode": -1,
    "object": [
		{
            "id": 2,
            "name": "Albert",
            "displayName": "",
            "type": "LOCAL",
            "activeDirectory": null
        },
		{
            "id": 3,
            "name": "aant",
            "displayName": "Adam",
            "type": "LDAP",
            "activeDirectory": {
                "id": 111,
                "name": "AWS Instance 1"
            }
        },
        {
            "id": 4,
            "name": "mfreeman",
            "displayName": "Morgan",
            "type": "LOCAL",
            "activeDirectory": null
        },
        {
            "id": 5,
            "name": "threadfix",
            "displayName": "Threadfix Service",
            "type": "LDAP",
            "activeDirectory": null
        },
        {
            "id": 1,
            "name": "user",
            "displayName": null,
            "type": "LOCAL",
            "activeDirectory": null
        }
    ]
}

  • No labels