Remove the permissions that apply to all users on a Dynatrace settings object with the Settings API so that only specific users and groups keep access.
| DELETE | SaaS | https://{your-environment-id}.apps.dynatrace.com/platform/settings/v1/objects/{object-id}/permissions/all-users |
You use the object-id path parameter to remove the permissions of the all-users accessor on a settings object, so the object is no longer shared with every user. Anyone with write permission on the object can delete permissions. With the admin-access query parameter set to true and the settings:objects:admin permission, you can act on objects you don't own. A 204 response confirms the removal.
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 |
| 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 | - |