• Home
  • How to use Dynatrace
  • 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 RestGroupForm object

ElementTypeDescription
uuidstring-

Can be null.

namestring-

Can be null.

descriptionstring-

Can be null.

federatedAttributeValuesstring[]-

Can be null.

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