• Home
  • Manage
  • Access control
  • User management and SSO
  • Dynatrace for Government SAML federation
  • Dynatrace for Government API - Groups
  • Create a group

Create a group

Use POST /v2/accounts/{account-uuid}/groups to create a user group. You don't have to pass a group uuid parameter in the request because it will be generated.

Endpoint

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

Parameters

ParameterTypeDescriptionInRequired
account-uuidstring-pathrequired
bodyRestGroupForm[]-bodyoptional

Request body objects

The RequestBody object

The object doesn't provide any parameters.

The RestGroupForm object

ElementTypeDescriptionRequired
uuidstring-optional
namestring-optional
descriptionstring-optional
federatedAttributeValuesstring[]-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
[ { "uuid": "string", "name": "string", "description": "string", "federatedAttributeValues": [ "string" ] } ]

Response

Response codes

CodeTypeDescription
200-

Group created correctly

400ExceptionMessage

Invalid Group or Account for creation