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.

The request produces application/json.

GET
  • AppMon 2017 May https://{server}:8021/api/v2/usermanagement/roles
  • AppMon 2018 April https://{server}:8021/api/v3/usermanagement/roles
  • AppMon 2018 October https://{server}:8021/api/v4/usermanagement/roles

PUT User role

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

The request consumes application/json.

PUT
  • AppMon 2017 May https://{server}:8021/api/v2/usermanagement/roles/{role}
  • AppMon 2018 April https://{server}:8021/api/v3/usermanagement/roles/{role}
  • AppMon 2018 October https://{server}:8021/api/v4/usermanagement/roles/{role}

GET User role

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

The request produces application/json.

GET
  • AppMon 2017 May https://{server}:8021/api/v2/usermanagement/roles/{role}
  • AppMon 2018 April https://{server}:8021/api/v3/usermanagement/roles/{role}
  • AppMon 2018 October https://{server}:8021/api/v4/usermanagement/roles/{role}

DELETE User role

Deletes the specified user role.

DELETE
  • AppMon 2017 May https://{server}:8021/api/v2/usermanagement/roles/{role}
  • AppMon 2018 April https://{server}:8021/api/v3/usermanagement/roles/{role}
  • AppMon 2018 October https://{server}:8021/api/v4/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.

The request consumes application/json.

POST
  • AppMon 2017 May https://{server}:8021/api/v2/usermanagement/roles/{role}/permissions
  • AppMon 2018 April https://{server}:8021/api/v3/usermanagement/roles/{role}/permissions
  • AppMon 2018 October https://{server}:8021/api/v4/usermanagement/roles/{role}/permissions

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.

The request consumes application/json.

PUT
  • AppMon 2017 May https://{server}:8021/api/v2/usermanagement/roles/{role}/permissions
  • AppMon 2018 April https://{server}:8021/api/v3/usermanagement/roles/{role}/permissions
  • AppMon 2018 October https://{server}:8021/api/v4/usermanagement/roles/{role}/permissions

GET User role permission

Inquires the list of user role permissions.

The request produces application/json.

GET
  • AppMon 2017 May https://{server}:8021/api/v2/usermanagement/roles/{role}/permissions
  • AppMon 2018 April https://{server}:8021/api/v3/usermanagement/roles/{role}/permissions
  • AppMon 2018 October https://{server}:8021/api/v4/usermanagement/roles/{role}/permissions

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 April https://{server}:8021/api/v3/usermanagement/roles/{role}/permissions
  • AppMon 2018 October https://{server}:8021/api/v4/usermanagement/roles/{role}/permissions