Gets the current permissions of the all-users accessor on the specified settings object.
This endpoint applies only to objects on schemas with owner-based access control enabled (ownerBasedAccessControl: true). To identify such schemas, include ownerBasedAccessControl in the add-fields parameter when calling List schemas.
The request produces an application/json payload.
| GET | ManagedDynatrace for Government | https://{your-domain}/e/{your-environment-id}/v2/settings/objects/{objectId}/permissions/all-users |
| GET | Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/v2/settings/objects/{objectId}/permissions/all-users |
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| objectId | string | The ID of the required settings object. | path | Required |
| adminAccess | 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 | Type | Description |
|---|---|---|
| 200 | Accessor | Success |
| 404 | Error | No object available for the given objectId or the all-users accessor doesn't have any permissions on this object. |
| 4XX | Error | Client side error. |
| 5XX | Error | Server side error. |
AccessorPermissions objectAn accessor identity and it's associated permissions.
| Element | Type | Description |
|---|---|---|
| accessor | Identity | An Identity describing either a user, a group, or the all-users group (applying to all users). |
| permissions | string[] | r = read, w = write The element can hold these values
|
Identity objectAn Identity describing either a user, a group, or the all-users group (applying to all users).
| Element | Type | Description |
|---|---|---|
| id | string | The user id or user group id if type is 'user' or 'group', missing if type is 'all-users'. |
| type | string | The type of the identity. The element can hold these values
|
ErrorEnvelope object| Element | Type | Description |
|---|---|---|
| error | Error | - |
Error object| Element | Type | Description |
|---|---|---|
| code | integer | The HTTP status code |
| constraintViolations | Constraint | A list of constraint violations |
| message | string | The error message |
ConstraintViolation objectA list of constraint violations
| Element | Type | Description |
|---|---|---|
| location | string | - |
| message | string | - |
| parameterLocation | string | -The element can hold these values
|
| path | string | - |
{"accessor": {"id": "string","type": "user"},"permissions": ["r"]}
{"error": {"code": 1,"constraintViolations": [{"location": "string","message": "string","parameterLocation": "HEADER","path": "string"}],"message": "string"}}