Create a Group

JFrog REST APIs

ft:sourceType
Paligo

Description: Creates a new group.

Since: 7.49.3

Authorization: Requires admin authentication using Access Tokens

Usage: POST /access/api/v2/groups

Produces: application/json

Request:

{
  "name": "string",
  "description": "string",
  "auto_join": boolean,
  "admin_privileges": boolean,
  "external_id": "string",
  "members": ["string", "string"]
}

Response:

{
  "name": "string",
  "description": "string",
  "auto_join": false,
  "admin_privileges": false,
  "realm": "ldap",
  "realm_attributes": "string",
  "external_id": "string",
  "members": ["user1", "user2"]
}

Response Codes:

  • 200: Successful

  • 400: Invalid input, object invalid

  • 401: Invalid credentials

  • 403: Insufficient permissions

  • 409: Group already exists