Try it free

Add permissions for an accessor on a settings object

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026

Grant a user or group permissions on a Dynatrace settings object with the Settings API; anyone with write permission on the object can add them.

POSTSaaShttps://{your-environment-id}.apps.dynatrace.com/platform/settings/v1/objects/{object-id}/permissions

Overview

You use the object-id path parameter to choose a settings object and the accessor and permissions fields in the request body to grant permissions to one user or group. Anyone with write permission on the object can add 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.

Authentication

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.

Parameters

ParameterTypeDescriptionInRequired
object-idstring

The ID of the required settings object

pathRequired
admin-accessboolean

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

queryOptional
bodyAccessorPermissions

The JSON body of the request. Contains the accessor and their new permissions.

bodyRequired

Request body objects

The AccessorPermissions object

ElementTypeDescriptionRequired
accessorIdentity-Required
permissionsPermissionsList[]

Permissions granted to the accessor on this object. r grants read access to view the object; w grants write access to modify the object. Valid values: ["r"] for read-only, ["r", "w"] for read and write.

The element can hold these values
  • r
  • w
Required

The Identity object

ElementTypeDescriptionRequired
typestring-
The element can hold these values
  • user
  • group
  • all-users
Required
idstring

user id or user group id if type is 'user' or 'group', missing if type is 'all-users'

Optional

The PermissionsList object

Permissions granted to the accessor on this object. r grants read access to view the object; w grants write access to modify the object. Valid values: ["r"] for read-only, ["r", "w"] for read and write.

Request body JSON model

This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.

{
"accessor": {
"type": "user",
"id": "string"
},
"permissions": [
"r",
"w"
]
}

Response

Response codes

CodeTypeDescription
201AccessorPermissions

Success.

400--
404--
429--
503--
4XX--
5XX--

Response body objects

The AccessorPermissions object

ElementTypeDescription
accessorIdentity-
permissionsPermissionsList[]

Permissions granted to the accessor on this object. r grants read access to view the object; w grants write access to modify the object. Valid values: ["r"] for read-only, ["r", "w"] for read and write.

The element can hold these values
  • r
  • w

The Identity object

ElementTypeDescription
typestring-
The element can hold these values
  • user
  • group
  • all-users
idstring

user id or user group id if type is 'user' or 'group', missing if type is 'all-users'

The PermissionsList object

Permissions granted to the accessor on this object. r grants read access to view the object; w grants write access to modify the object. Valid values: ["r"] for read-only, ["r", "w"] for read and write.

Response body JSON models

{
"accessor": {
"type": "user",
"id": "string"
},
"permissions": [
"r",
"w"
]
}
Related tags
Platform APIDynatrace Platform