---
updatedAt: 2026-10-11T08:55:17.000Z
agentTools:
  siteIndex: https://docs.jfrog.com/llms.txt
  projectIndex: https://docs.jfrog.com/administration/llms.txt
---

# Get a List of Groups

Returns the list of all groups.


**Security:** Requires admin privileges, or a scoped token with `system:identities:r`.


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "JFrog Platform - Groups API",
    "description": "Group management APIs for the JFrog Platform.\n\n**Authentication:** Access Tokens as bearer token in authorization header (Authorization: Bearer <token>)\n\n**Security:** Unless otherwise specified, all APIs require admin privileges.\n\n**Availability:** Artifactory 7.49.3+\n",
    "version": "1.0.0",
    "contact": {
      "name": "JFrog Support"
    }
  },
  "servers": [
    {
      "url": "https://{jfrog_url}"
    }
  ],
  "tags": [
    {
      "name": "Groups",
      "description": "APIs for creating, updating, deleting, and managing JFrog Platform groups and group memberships."
    }
  ],
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "paths": {
    "/access/api/v2/groups": {
      "get": {
        "tags": [
          "Groups"
        ],
        "summary": "Get a List of Groups",
        "description": "Returns the list of all groups.\n\n\n**Security:** Requires admin privileges, or a scoped token with `system:identities:r`.\n",
        "operationId": "getGroupList",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1000
            },
            "description": "Number of results to return"
          },
          {
            "name": "descendingOrder",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "description": "Whether to return groups in descending lexical order"
          },
          {
            "name": "groupName",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Filter by group name pattern"
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Pagination cursor"
          },
          {
            "name": "role",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Filter by role. Must be provided together with resourceName and resourceType. Available from Artifactory 7.117.1."
          },
          {
            "name": "resourceType",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Filter by resource type. Must be provided together with resourceName and role. Available from Artifactory 7.117.1."
          },
          {
            "name": "resourceName",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Filter by repository name. Must be provided together with role and resourceType. Available from Artifactory 7.117.1."
          },
          {
            "name": "projectKey",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Filter by project key"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupListResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request - Invalid input"
          },
          "401": {
            "description": "Bad Credentials - Invalid credentials"
          },
          "403": {
            "description": "Permission Denied - Insufficient permissions"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "Access Token as bearer token"
      }
    },
    "schemas": {
      "GroupListResponse": {
        "type": "object",
        "properties": {
          "groups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GroupRecordResponse"
            }
          },
          "cursor": {
            "type": "string",
            "description": "Pagination cursor"
          }
        }
      },
      "GroupRecordResponse": {
        "type": "object",
        "properties": {
          "group_name": {
            "type": "string",
            "description": "Group name"
          },
          "uri": {
            "type": "string",
            "description": "Group URI"
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false
  }
}
```