Get the effective Dynatrace settings permissions of the calling user in the environment with the Settings API by resolving the permissions you list.
| POST | SaaS | https://{your-environment-id}.apps.dynatrace.com/platform/settings/v1/effective-permissions:resolve |
You use this operation to check which settings permissions you have in the environment. The permissions field of the request body lists the permissions to resolve, and a 200 response returns whether each of them is granted to you. Typical usage is checking access in an app before you show or enable settings actions.
To execute this request, you need a platform token or OAuth access token with settings:schemas:read scope. To learn how to obtain and use it, see Tokens and authentication.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| body | Resolution | The JSON body of the request. Contains the permissions to be resolved. | body | Required |
ResolutionRequest object| Element | Type | Description | Required |
|---|---|---|---|
| permissions | Single | - | Required |
SinglePermissionRequest objectoptional generic set of context data
| Element | Type | Description | Required |
|---|---|---|---|
| permission | string | -The element can hold these values
| Required |
| context | Permission | - | Optional |
PermissionContext object| Element | Type | Description | Required |
|---|---|---|---|
| schemaId | string | - | Required |
| scope | string | - | Required |
This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.
{"permissions": [{"permission": "settings:objects:read","context": {"schemaId": "string","scope": "string"}}]}
| Code | Description |
|---|---|
| 200 | - |
| 400 | - |
| 403 | - |
| 429 | - |
| 503 | - |
| 4XX | - |
| 5XX | - |