add_iam_user
Add an IAM user to a specified organizational level (account or environment) in Dynatrace by providing level type, level UUID, and user configuration.
Instructions
Add a user to an organisational level (IAM v1, WRITE). Requires an account-scoped platform token with iam write scopes. level-type is 'account' or 'environment'; level-id is the corresponding UUID.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"levelType": "<levelType>",
"levelId": "<levelId>",
"user": "<user>"
},
"name": "add_iam_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| levelType | Yes | Organisational level type: 'account' or 'environment'. | |
| levelId | Yes | UUID of the level-type instance. | |
| user | Yes | User definition object (uid, email, groups, permissions, etc.). |