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.
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.). |