---
updatedAt: 2026-04-19T15:17:27.000Z
agentTools:
  siteIndex: https://docs.jfrog.com/llms.txt
  projectIndex: https://docs.jfrog.com/administration/llms.txt
---

# Create a Group

Creates a new group.


**Security:** Requires admin privileges.


**Consumes and Produces**: [application/vnd.org.jfrog.artifactory.security.Group+json](https://docs.jfrog.com/integrations/docs/configuration-json-files#applicationvndorgjfrogartifactorysecuritygroupjson)

# 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": {
      "post": {
        "tags": [
          "Groups"
        ],
        "summary": "Create a Group",
        "description": "Creates a new group.\n\n\n**Security:** Requires admin privileges.\n",
        "operationId": "createGroup",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GroupCreateRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Group created successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupDetails"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request - Invalid input"
          },
          "401": {
            "description": "Bad Credentials - Invalid credentials"
          },
          "403": {
            "description": "Permission Denied - Insufficient permissions"
          },
          "404": {
            "description": "Not Found - One or more users in members were not found"
          },
          "409": {
            "description": "Conflict - Group already exists"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "Access Token as bearer token"
      }
    },
    "schemas": {
      "GroupDetails": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The group name"
          },
          "description": {
            "type": "string",
            "description": "Group description"
          },
          "auto_join": {
            "type": "boolean",
            "description": "Whether new users auto-join this group"
          },
          "admin_privileges": {
            "type": "boolean",
            "description": "Whether group has admin privileges"
          },
          "realm": {
            "type": "string",
            "description": "The authentication realm"
          },
          "realm_attributes": {
            "type": "string",
            "description": "Realm attributes"
          },
          "external_id": {
            "type": "string",
            "description": "External ID for SCIM"
          },
          "members": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Group members"
          },
          "reports_manager": {
            "type": "boolean",
            "description": "Whether group has reports manager role. Available from Artifactory 7.128.0."
          },
          "watch_manager": {
            "type": "boolean",
            "description": "Whether group has watch manager role. Available from Artifactory 7.128.0."
          },
          "policy_manager": {
            "type": "boolean",
            "description": "Whether group has policy manager role. Available from Artifactory 7.128.0."
          },
          "policy_viewer": {
            "type": "boolean",
            "description": "Whether group has policy viewer role. Available from Artifactory 7.128.0."
          },
          "manage_resources": {
            "type": "boolean",
            "description": "Whether group manages resources in the default project. Available from Artifactory 7.128.0."
          },
          "manage_webhook": {
            "type": "boolean",
            "description": "Whether group has manage webhook permissions. Available from Artifactory 7.128.0."
          }
        }
      },
      "GroupCreateRequest": {
        "type": "object",
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "The group name (required)"
          },
          "description": {
            "type": "string",
            "description": "Group description"
          },
          "auto_join": {
            "type": "boolean",
            "default": false,
            "description": "Whether new users auto-join this group"
          },
          "admin_privileges": {
            "type": "boolean",
            "default": false,
            "description": "Whether group has admin privileges"
          },
          "external_id": {
            "type": "string",
            "description": "External ID for SCIM"
          },
          "members": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Initial group members"
          },
          "reports_manager": {
            "type": "boolean",
            "default": false,
            "description": "Whether group has reports manager role. Available from Artifactory 7.128.0."
          },
          "watch_manager": {
            "type": "boolean",
            "default": false,
            "description": "Whether group has watch manager role. Available from Artifactory 7.128.0."
          },
          "policy_manager": {
            "type": "boolean",
            "default": false,
            "description": "Whether group has policy manager role. Available from Artifactory 7.128.0."
          },
          "policy_viewer": {
            "type": "boolean",
            "default": false,
            "description": "Whether group has policy viewer role. Available from Artifactory 7.128.0."
          },
          "manage_resources": {
            "type": "boolean",
            "default": false,
            "description": "Whether group manages resources in the default project. Available from Artifactory 7.128.0."
          },
          "manage_webhook": {
            "type": "boolean",
            "default": false,
            "description": "Whether group has manage webhook permissions. Available from Artifactory 7.128.0."
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false
  }
}
```