Try it free

List active users for an organizational level

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026

List active users in Dynatrace for an organizational level with the IAM API, filtered by partialString or UUID and sorted by name and surname.

GETSaaShttps://{your-environment-id}.apps.dynatrace.com/platform/iam/v1/organizational-levels/{level-type}/{level-id}/users

Overview

Providing value for at least one of the parameters: 'partialString' or 'uuid' is required. If both query params 'partialString' and 'uuid' are provided then the result returns users meeting any of the filtering criteria. Returned users are first ordered by name and then by surname. Authorization is based on an assignment of the calling user to the account associated with the 'level-type' and 'level-id' For environment 'level-type' user has to be assigned to account to which the environment is assigned, user does not need any permissions in such environment

Authentication

To execute this request, you need a platform token or OAuth access token with iam:users:read scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
level-typestring

Allowed values: account, environment

pathRequired
level-idstring

Identifier of 'level-type'. Max allowed length is 36. For account use its UUID. For environment 'level-type' user has to be assigned to account to which the environment is assigned, user does not need any permissions in such environment

pathRequired
partialStringstring

Filter value - searches for users whose email contains provided value AND users whose 'name surname' or 'surname name' starts with provided value. Minimum length: 3. Maximum length: 320

queryOptional
uuidstring[]

List of user UUIDs. Filter value - equals. Allows multiple values. Maximum allowed size: 25

queryOptional
page-keystring

Cursor-based Pagination - page-key. Cursor to the next page, includes page number and filtering values. Implicit filtering values will be overwritten by page-key property. Cursor-based Pagination can't be used together with Offset-based Pagination! Max length: 2000

queryOptional
pageinteger

Offset-based Pagination - page. Default value: 1. Page number to return. Offset-based Pagination can't be used with Cursor-based Pagination!

queryOptional
pageSizeinteger

Pagination - page size. Default value: 1000. Minimum value: 1. Maximum value: 1000

queryOptional

Response

Response codes

CodeTypeDescription
200RestUserPublicListResponse

Users from the organizational level fetched successfully

401PublicExceptionMessage

Authorization header is missing or is incorrect.

403PublicExceptionMessage

Execution user is not allowed to perform the action.

404PublicExceptionMessage

Calling user is not assigned to the requested account or requested environment is not assigned to account that user is assigned to or the 'level-id' does not exist

429PublicExceptionThrottlingMessage

Too many requests have been sent - requests are throttled

Response body objects

The RestUserPublicListResponse object

ElementTypeDescription
resultsRestUserPublic[]

Collection containing the paginated result

nextPageKeystring

Key for requesting the next page of the result

totalCountinteger

Total count of records

The RestUserPublic object

Collection containing the paginated result

ElementTypeDescription
uidstring-
emailstring-
namestring-
surnamestring-
descriptionstring-

The PublicExceptionMessage object

ElementTypeDescription
errorErrorResponse-

The ErrorResponse object

ElementTypeDescription
codeinteger-
messagestring-
detailsErrorResponseDetails-

The ErrorResponseDetails object

ElementTypeDescription
missingScopesstring[]-
constraintViolationsErrorResponseConstraintViolation[]-

The ErrorResponseConstraintViolation object

ElementTypeDescription
pathstring-
messagestring-
parameterLocationstring-

Response body JSON models

{
"results": [
{
"uid": "string",
"email": "string",
"name": "string",
"surname": "string",
"description": "string"
}
],
"nextPageKey": "string",
"totalCount": 1
}
{
"error": {
"code": 1,
"message": "string",
"details": {
"missingScopes": [
"string"
],
"constraintViolations": [
{
"path": "string",
"message": "string",
"parameterLocation": "string"
}
]
}
}
}
Related tags
Platform APIDynatrace Platform