{
  "opencollection": "1.0.0",
  "info": {
    "name": "Dynatrace Account Management Entities Groups API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://sso.dynatrace.com/sso/oauth2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Groups",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Dynatrace List Groups",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.dynatrace.com/iam/v1/accounts/:accountUuid/groups",
            "params": [
              {
                "name": "accountUuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the Dynatrace account. Found in the Dynatrace account settings or obtained from the account API."
              },
              {
                "name": "nextPageKey",
                "value": "example-value",
                "type": "query",
                "description": "Cursor for the next page of results."
              },
              {
                "name": "pageSize",
                "value": "500",
                "type": "query",
                "description": "The number of groups to return per page."
              }
            ]
          },
          "docs": "Returns a list of all user groups defined in the account. Groups are the primary mechanism for assigning permissions and environment access to sets of users. Results are paginated."
        },
        {
          "info": {
            "name": "Dynatrace Create Group",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.dynatrace.com/iam/v1/accounts/:accountUuid/groups",
            "params": [
              {
                "name": "accountUuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the Dynatrace account. Found in the Dynatrace account settings or obtained from the account API."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new user group in the account. After creating the group, users can be assigned to it and permissions can be granted to the group for specific environments or account-level functions."
        },
        {
          "info": {
            "name": "Dynatrace Get Group",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.dynatrace.com/iam/v1/accounts/:accountUuid/groups/:groupId",
            "params": [
              {
                "name": "accountUuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the Dynatrace account. Found in the Dynatrace account settings or obtained from the account API."
              },
              {
                "name": "groupId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the group."
              }
            ]
          },
          "docs": "Returns the details of a specific group, including its name, description, and assigned permissions."
        },
        {
          "info": {
            "name": "Dynatrace Update Group",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.dynatrace.com/iam/v1/accounts/:accountUuid/groups/:groupId",
            "params": [
              {
                "name": "accountUuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the Dynatrace account. Found in the Dynatrace account settings or obtained from the account API."
              },
              {
                "name": "groupId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the group."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the name and description of an existing group. Group permissions are managed separately via the permissions endpoints."
        },
        {
          "info": {
            "name": "Dynatrace Delete Group",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.dynatrace.com/iam/v1/accounts/:accountUuid/groups/:groupId",
            "params": [
              {
                "name": "accountUuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the Dynatrace account. Found in the Dynatrace account settings or obtained from the account API."
              },
              {
                "name": "groupId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the group."
              }
            ]
          },
          "docs": "Permanently deletes the specified group from the account. All users who were members of this group lose any permissions that were granted exclusively through this group."
        }
      ]
    }
  ],
  "bundled": true
}