• Home
  • Manage
  • Access control
  • User management and SSO
  • Dynatrace for Government SAML federation
  • Dynatrace for Government API - Group permissions
  • Update group permissions

Update group permissions

Use PUT /v2/accounts/{account-uuid}/groups/{group-uuid}/permissions to update permissions of a user group.

Endpoint

/v2/accounts/{account-uuid}/groups/{group-uuid}/permissions

Parameters

ParameterTypeDescriptionInRequired
account-uuidstring-pathrequired
group-uuidstring-pathrequired
bodyRestPermissionWithScopeForm[]-bodyoptional

Request body objects

The RequestBody object

The object doesn't provide any parameters.

The RestPermissionWithScopeForm object

ElementTypeDescriptionRequired
permissionNamestring-optional
scopestring-optional
scopeTypestring-optional

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.

json
[ { "permissionName": "string", "scope": "string", "scopeType": "string" } ]

Response

Response codes

CodeTypeDescription
200integer

Permissions set successfully

400ExceptionMessage

Invalid permission or account or group name parameter

404ExceptionMessage

Permission to be removed from group of account can not be found

Response body objects

The ResponseBody object

The object doesn't provide any parameters.