• Home
  • Manage
  • Access control
  • User management and SSO
  • Dynatrace for Government SAML federation
  • Dynatrace for Government API - Users
  • Get users with metadata

Get users with metadata

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

Endpoint

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

Parameters

ParameterTypeDescriptionInRequired
account-uuidstring-pathrequired
groupNamestring-queryoptional
userNamestring-queryoptional
userSurnamestring-queryoptional
userCompanystring-queryoptional
userEmailstring-queryoptional
userUidstring-queryoptional
userStatusstring-queryoptional
pageNumberinteger-queryoptional
pageSizeinteger-queryoptional

Response

Response codes

CodeTypeDescription
200RestUser[]

Get users

404ExceptionMessage

Could not find requested account

Response body objects

The ResponseBody object

The object doesn't provide any parameters.

The RestUser object

ElementTypeDescription
uidstring-
emailstring-
namestring-
surnamestring-
passwordstring-
companystring-
countryCodestring-
userStatusstring-
accountUuidsstring[]-
ownerAccountUuidstring-
typestring-
dcsActiveboolean-
passwordChangedAtstring-
userLoginMetadataRestUserLoginMetadata-
createdAtstring-
updatedAtstring-

The RestUserLoginMetadata object

ElementTypeDescription
successfulLoginCounterinteger-
failedLoginCounterinteger-
lastSuccessfulLoginstring-
lastFailedLoginstring-
resetPasswordTokenSentAtstring-
lastSuccessfulBasicAuthenticationstring-
createdAtstring-
updatedAtstring-

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" } ]