Lists all permissions assigned to a user group from your Dynatrace account.
The request produces an application/json
payload.
GET |
|
To execute this request, you need the Allow read access for identity resources (users and groups) (account-idm-read
) scope assigned to your token. To learn how to obtain and use it, see OAuth clients.
The ID of the required account.
You can find the UUID on the Account Management > Identity & access management > OAuth clients page, during creation of an OAuth client.
The UUID of the required user group.
PermissionsGroupDto
objectThe UUID of the user group.
The name of the user group.
A short description of the user group.
A list of values associating this group with the corresponding claim from an identity provider.
The type of the group. LOCAL
, SCIM
, SAML
and DCS
corresponds to the identity provider from which the group originates. ALL_USERS
is a special case of LOCAL
group. It means that group is always assigned to all users in the account.
LOCAL
SCIM
SAML
DCS
ALL_USERS
The date and time of the group creation in 2021-05-01T15:11:00Z
format.
The date and time of the most recent group modification in 2021-05-01T15:11:00Z
format.
PermissionsDto
objectThe name of the permission.
account-company-info
account-user-management
account-viewer
account-saml-flexible-federation
tenant-viewer
tenant-manage-settings
tenant-agent-install
tenant-logviewer
tenant-view-sensitive-request-data
tenant-configure-request-capture-data
tenant-replay-sessions-with-masking
tenant-replay-sessions-without-masking
tenant-manage-security-problems
tenant-view-security-problems
tenant-manage-support-tickets
The scope of the permission. Depending on the scope type, it is defined by:
account
: The UUID of the account.tenant
: The ID of the environment.management-zone
: The ID of the management zone from an environment in {environment-id}:{management-zone-id}
format.The type of the permission scope.
account
tenant
management-zone
The date and time of the permission creation in 2021-05-01T15:11:00Z
format.
The date and time of the most recent permission modification in 2021-05-01T15:11:00Z
format.
{"uuid": "string","name": "string","description": "string","federatedAttributeValues": ["string"],"owner": "LOCAL","createdAt": "string","updatedAt": "string","permissions": [{"permissionName": "account-company-info","scope": "string","scopeType": "account","createdAt": "string","updatedAt": "string"}]}
In this example, the request lists permissions of the user group with the UUID of 752d4f22-83f9-44dd-8fb2-7f226354fdb5.
curl --request GET \--url 'https://api.dynatrace.com/iam/v1/accounts/9ad20784-76c6-4167-bfba-9b0d8d72a71d/groups/752d4f22-83f9-44dd-8fb2-7f226354fdb5/permissions' \--header 'Authorization: Bearer abcdefjhij1234567890'
https://api.dynatrace.com/iam/v1/accounts/9ad20784-76c6-4167-bfba-9b0d8d72a71d/groups/752d4f22-83f9-44dd-8fb2-7f226354fdb5/permissions
{"uuid": "752d4f22-83f9-44dd-8fb2-7f226354fdb5","name": "Finance admin","owner": "LOCAL","description": null,"hidden": false,"createdAt": "2020-03-11T03:01:00Z","updatedAt": "2020-03-11T03:01:00Z","permissions": [{"permissionName": "account-viewer","scope": "9ad20784-76c6-4167-bfba-9b0d8d72a71d","scopeType": "account","createdAt": "2020-03-11T03:01:00Z","updatedAt": "2020-03-11T03:01:00Z"},{"permissionName": "account-company-info","scope": "9ad20784-76c6-4167-bfba-9b0d8d72a71d","scopeType": "account","createdAt": "2020-03-11T03:01:00Z","updatedAt": "2020-03-11T03:01:00Z"}]}
200