Contents

Get Account List

Get a list of all accounts, including non-Managed Accounts, in an organization.

Method

GET

URL

/Users

/Users?filter=userName+eq+"MAIL_ADDRESS"

Example:
/Users?filter=userName+eq+%22example%40nulab.com%22

Query parameters

Parameter nameTypeDescription
filterStringAttribute name followed by attribute operator and value (e.g., userName+eq+%22example%40nulab.com%22)
startIndexNumberIndex of the first account in the result list to be retrieved (assumed to be 1 if not specified)
countNumberMaximum number of result lists to be retrieved(assumed to be 100 if not specified)

Supported attribute names

Attribute nameTypeExample of use
userNameStringEmail address

Supported SCIM filters

Filter typeDescription
eqEqual

Response example

Status line / Response header

HTTP/1.1	200 OK
Content-Type:application/scim+json;charset=UTF-8

Response body

{
    "schemas": [
        "urn:ietf:params:scim:api:messages:2.0:ListResponse"
    ],
    "totalResults": 2,
    "itemsPerPage": 2,
    "startIndex": 1,
    "Resources": [
        {
            "schemas": [
                "urn:ietf:params:scim:schemas:core:2.0:User"
            ],
            "id": "4kJpD7FC2C3ALSmp7ozAp2LZu2ZTaTCP4QZUnNu43XX3tUdhg",
            "meta": {
                "resourceType": "User",
                "created": "2023-11-10T08:19:17Z",
                "lastModified": "2024-01-13T01:04:37Z",
                "location": "https://api.apps.nulab.com/spaces/aeDWiLzQw/scim/v2/Users/4kJpD7FC2C3ALSmp7ozAp2LZu2ZTaTCP4QZUnNu43XX3tUdhg"
            },
            "userName": "example@nulab.com",
            "displayName": "AHorowitz",
            "preferredLanguage": "en",
            "locale": "en",
            "active": true,
            "roles": [
                {
                    "value": "ADMIN",
                    "primary": true
                }
            ]
        },
        {
            "schemas": [
                "urn:ietf:params:scim:schemas:core:2.0:User"
            ],
            "id": "6BV58gRox664F5QKPC9oUWHB23BtJqWVoSmTCzzjpCiKcoCYu",
            "externalId": "BradMarshalls",
            "meta": {
                "resourceType": "User",
                "created": "2024-02-13T05:03:49Z",
                "lastModified": "2024-02-27T08:01:23Z",
                "location": "https://api.apps.nulab.com/spaces/aeDWiLzQw/scim/v2/Users/6BV58gRox664F5QKPC9oUWHB23BtJqWVoSmTCzzjpCiKcoCYu"
            },
            "userName": "example2@nulab.com",
            "displayName": "BradMarshalls",
            "preferredLanguage": "en",
            "locale": "en",
            "timezone": "Asia/Tokyo",
            "active": true,
            "roles": [
                {
                    "value": "USER",
                    "primary": true
                }
            ]
        }
    ],
    "id": null,
    "externalId": null,
    "meta": null
}

Response description

Parameter nameTypeDescription
idStringAccount ID (string that uniquely identifies the account)
externalIdStringExternal ID to identify accounts assigned by IdP
userNameStringEmail address (uniquely identifies the account)
displayNameStringUsername
preferredLanguageStringLanguage (same value as locale)
localeStringLanguage (same value as preferredLanguage)
timezoneStringTime zone
activeBooleanStatus of the account (true = active, false = inactive)
roles.[0].valueStringADMIN = Administrator
USER = Member
GUEST = Guest