• Home
  • Dynatrace Managed
  • Cluster API
  • Cluster API v1
  • User groups v1
  • Get user group

Get user group

This API call retrieves information on a specific cluster user group.

Authentication

To execute this request, you need the Service Provider API (ServiceProviderAPI) permission assigned to your API token. Generate your API token via Cluster Management Console (CMC). To learn how to obtain and use it, see Cluster API - Authentication.

Endpoint

/api/v1.0/onpremise/groups

Parameter

ParameterTypeDescriptionInRequired
groupIdstring

Group ID path parameter. Missing or empty values will return a 'Bad Request'.

pathrequired

Response

Response codes

CodeTypeDescription
200GroupConfig

Success

400

No ID information received for the request to get a group

404

Not found

Response body objects

The GroupConfig object

The configuration of the group.

ElementTypeDescription
isClusterAdminGroupboolean

If true, then the group has the cluster administrator rights.

hasAccessAccountRoleboolean

If true, then the group has the access account rights.

hasManageAccountAndViewProductUsageRoleboolean

If true, then the group has the manage account rights.

isAccessAccountboolean-
isManageAccountboolean-
idstring

Group ID. Leave empty if creating group. Set if updating group.

namestring

Group name

ldapGroupNamesstring[]

LDAP group names

ssoGroupNamesstring[]

SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name

accessRightobject

Access rights

Response body JSON model

json
{ "isClusterAdminGroup": true, "hasAccessAccountRole": true, "hasManageAccountAndViewProductUsageRole": true, "isAccessAccount": true, "isManageAccount": true, "id": "string", "name": "string", "ldapGroupNames": [ "string" ], "ssoGroupNames": [ "string" ], "accessRight": {} }

Example

In this example, you retrieve salesgroup user group details.

Curl

bash
curl -X GET "https://myManaged.cluster.com/api/v1.0/onpremise/groups/salesgroup" -H "accept: application/json" -H 'Authorization: Api-Token FG563.LKJHDFLKJHDFHLKJDGV.ABCDEFGHJKLMNOP'

Request URL

plaintext
https://mymanaged.cluster.com/api/v1.0/onpremise/groups/salesgroup

Response body

json
{ "isClusterAdminGroup": true, "isAccessAccount": true, "isManageAccount": true, "id": "salesgroup", "name": "Sales Group", "ldapGroupNames": [ "sales" ] }

Response code

200