Remove the permissions of an existing user or group from a Dynatrace settings object with the Settings API; write permission on the object is required.
| DELETE | SaaS | https://{your-environment-id}.apps.dynatrace.com/platform/settings/v1/objects/{object-id}/permissions/{accessor-type}/{accessor-id} |
You use the object-id, accessor-type, and accessor-id path parameters to remove all permissions of one accessor on a settings object. The accessor ID is the user UUID or group UUID, depending on the accessor type. Anyone with write permission on the object can delete permissions.
To execute this request, you need a platform token or OAuth access token with settings:objects:write scope. To learn how to obtain and use it, see Tokens and authentication.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| object-id | string | The ID of the required settings object | path | Required |
| accessor-type | string | The type of the accessor The element can hold these values
| path | Required |
| accessor-id | string | The user uuid or group uuid of the accessor, depending on the type | path | Required |
| admin-access | boolean | If set to true and user has settings:objects:admin permission, the endpoint will act as if the user is the owner of all objects | query | Optional |
| Code | Description |
|---|---|
| 204 | Success. |
| 404 | - |
| 429 | - |
| 503 | - |
| 4XX | - |
| 5XX | - |