User roles (REST)

The AppMon Server offers several RESTful interfaces to manage users. You can also perform the some of these operations in the AppMon Client, at the Roles tab of the Users item from the Dynatrace Server Settings dialog box.

GET User roles

Produces a list of all existing user roles on the server.

GET AppMon 2017 May
https://<server>:8021/api/v2/usermanagement/roles


AppMon 2018 February
https://<server>:8021/api/v3/usermanagement/roles
produces application/json

PUT User role

Creates a new user role with specified parameters. If such a role already exists, it will be overwritten.

PUT AppMon 2017 May
https://<server>:8021/api/v2/usermanagement/roles/<role>


AppMon 2018 February
https://<server>:8021/api/v3/usermanagement/roles/<role>
consumes application/json

GET User role

Inquires the information (ID, description, permissions list) about the specified user role.

GET AppMon 2017 May
https://<server>:8021/api/v2/usermanagement/roles/<role>


AppMon 2018 February
https://<server>:8021/api/v3/usermanagement/roles/<role>
produces application/json

DELETE User role

Deletes the specified user role.

DELETE AppMon 2017 May
https://<server>:8021/api/v2/usermanagement/roles/<role>


AppMon 2018 February
https://<server>:8021/api/v3/usermanagement/roles/<role>

POST User role permission

Assigns permissions to the specified user role. All previously assigned permissions remain valid.

Note

You can only assign permissions, which currently logged in user has.

POST AppMon 2017 May
https://<server>:8021/api/v2/usermanagement/roles/<role>/permissions


AppMon 2018 February
https://<server>:8021/api/v3/usermanagement/roles/<role>/permissions
consumes application/json

PUT User role permission

Assigns permissions to the specified user role. All previously assigned permissions will be overwritten.

Note

You can only assign permissions, which currently logged in user has.

PUT AppMon 2017 May
https://<server>:8021/api/v2/usermanagement/roles/<role>/permissions


AppMon 2018 February
https://<server>:8021/api/v3/usermanagement/roles/<role>/permissions
consumes application/json

GET User role permission

Inquires the list of user role permissions.

GET AppMon 2017 May
https://<server>:8021/api/v2/usermanagement/roles/<role>/permissions


AppMon 2018 February
https://<server>:8021/api/v3/usermanagement/roles/<role>/permissions
produces application/json

DELETE User role permission

Deletes all the permissions from the specified user role.

Note

You can only delete permissions, which currently logged in user has.

DELETE AppMon 2017 May
https://<server>:8021/api/v2/usermanagement/roles/<role>/permissions


AppMon 2018 February
https://<server>:8021/api/v3/usermanagement/roles/<role>/permissions