• Home
  • Manage
  • Access control
  • User management and SSO
  • Dynatrace for Government SAML federation
  • Dynatrace for Government API - Users
  • Create user accounts with Dynatrace for Government API

Create user accounts with Dynatrace for Government API

Use POST /v1/accounts/{account-uuid}/users to create users.

Endpoint

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

Parameters

ParameterTypeDescriptionInRequired
account-uuidstring-pathrequired
bodyRestUserForm-bodyoptional

Request body objects

The RestUserForm object

ElementTypeDescriptionRequired
uidstring-optional
emailstring-optional
namestring-optional
surnamestring-optional
passwordstring-optional
companystring-optional
countryCodestring-optional
accountUuidsstring[]-optional

Request body JSON model

This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.

json
{ "uid": "string", "email": "string", "name": "string", "surname": "string", "password": "string", "company": "string", "countryCode": "string", "accountUuids": [ "string" ] }

Response

Response codes

CodeTypeDescription
201-

Users created successfully

400ExceptionMessage

Invalid user