• Home
  • How to use Dynatrace
  • User management and SSO
  • Dynatrace for Government SAML federation
  • Dynatrace for Government API - Users
  • Get users with groups

Get users with groups

Use GET /v1/accounts/{account-uuid}/users/groups to get all users with groups.

Endpoint

/v1/accounts/{account-uuid}/users/groups

Parameters

ParameterTypeDescriptionInRequired
account-uuidstring-pathrequired
pageNumberinteger-queryoptional
pageSizeinteger-queryoptional

Response

Response codes

CodeTypeDescription
200RestUserWithGroups[]

Get users

404ExceptionMessage

Could not find requested account

Response body objects

The RestUserWithGroups object

ElementTypeDescription
uidstring-

Can be null.

emailstring-

Can be null.

namestring-

Can be null.

surnamestring-

Can be null.

passwordstring-

Can be null.

companystring-

Can be null.

countryCodestring-

Can be null.

userStatusstring-

Can be null.

accountUuidsstring[]-

Can be null.

ownerAccountUuidstring-

Can be null.

typestring-

Can be null.

dcsActiveboolean-

Can be null.

passwordChangedAtstring-

Can be null.

userLoginMetadataRestUserLoginMetadata-

Can be null.

createdAtstring-

Can be null.

updatedAtstring-

Can be null.

groupsRestUserGroup[]-

Can be null.

The RestUserLoginMetadata object

ElementTypeDescription
successfulLoginCounterinteger-

Can be null.

failedLoginCounterinteger-

Can be null.

lastSuccessfulLoginstring-

Can be null.

lastFailedLoginstring-

Can be null.

resetPasswordTokenSentAtstring-

Can be null.

lastSuccessfulBasicAuthenticationstring-

Can be null.

createdAtstring-

Can be null.

updatedAtstring-

Can be null.

The RestUserGroup object

ElementTypeDescription
groupNamestring-

Can be null.

uuidstring-

Can be null.

ownerstring-

Can be null.

descriptionstring-

Can be null.

accountUUIDstring-

Can be null.

accountNamestring-

Can be null.

federatedAttributeValuesstring[]-

Can be null.

createdAtstring-

Can be null.

updatedAtstring-

Can be null.

Response body JSON model

json
[ { "uid": "string", "email": "string", "name": "string", "surname": "string", "password": "string", "company": "string", "countryCode": "string", "userStatus": "string", "accountUuids": [ "string" ], "ownerAccountUuid": "string", "type": "string", "dcsActive": true, "passwordChangedAt": "string", "userLoginMetadata": { "successfulLoginCounter": 1, "failedLoginCounter": 1, "lastSuccessfulLogin": "string", "lastFailedLogin": "string", "resetPasswordTokenSentAt": "string", "lastSuccessfulBasicAuthentication": "string", "createdAt": "string", "updatedAt": "string" }, "createdAt": "string", "updatedAt": "string", "groups": [ { "groupName": "string", "uuid": "string", "owner": "string", "description": "string", "accountUUID": "string", "accountName": "string", "federatedAttributeValues": [ "string" ], "createdAt": "string", "updatedAt": "string" } ] } ]