Reference data API - GET user permissions
Lists all possible user permissions that you can use.
The request produces an application/json
payload.
GET |
|
Authentication
To execute this request, you need the Allow read access for environment resources (account-env-read
) scope assigned to your token. To learn how to obtain and use it, see Authentication.
Parameters
The request doesn't provide any configurable parameters.
Response
Response codes
Code | Type | Description |
---|---|---|
200 | PermissionDto[] | Success. The response contains the list of permissions. |
Response body objects
The ResponseBody
object
The PermissionDto
object
Element | Type | Description |
---|---|---|
id | string | The ID of the permission. |
description | string | The display name of the permission. |
Response body JSON model
1[2 {3 "id": "string",4 "description": "string"5 }6]
Example
In this example, the request lists all permissions that are available in the account with the UUID of 9ad20784-76c6-4167-bfba-9b0d8d72a71d. The result is truncated to three entries.
Curl
1curl --request GET \2 --url https://api.dynatrace.com/ref/v1/account/permissions \3 --header 'Authorization: Bearer abcdefjhij1234567890'
Request URL
1https://api.dynatrace.com/ref/v1/account/permissions
Response body
1[2 {3 "id": "account-user-management",4 "description": "Manage users"5 },6 {7 "id": "tenant-manage-settings",8 "description": "Change monitoring settings"9 },10 {11 "id": "tenant-view-sensitive-request-data",12 "description": "View sensitive request data"13 }14]
Response code
200