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
Parameter | Type | Description | In | Required |
---|---|---|---|---|
account-uuid | string | - | path | required |
body | Rest | - | body | optional |
Request body objects
The RestUserForm
object
Element | Type | Description | Required |
---|---|---|---|
uid | string | - | optional |
string | - | optional | |
name | string | - | optional |
surname | string | - | optional |
password | string | - | optional |
company | string | - | optional |
countryCode | string | - | optional |
accountUuids | string[] | - | 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.
{
"uid": "string",
"email": "string",
"name": "string",
"surname": "string",
"password": "string",
"company": "string",
"countryCode": "string",
"accountUuids": [
"string"
]
}
Response
Response codes
Code | Type | Description |
---|---|---|
201 | - | Users created successfully |
400 | ExceptionMessage | Invalid user |