v1

latestOpenAPI 3.1.02026-07-177545150.1 KB
Server Management

Create Group Api

Create a new scope group via JWT authentication (External API).

This endpoint provides the same functionality as POST /api/internal/create-group but uses modern JWT Bearer token authentication.

Authentication: JWT Bearer token (via nginx X-User header) Authorization: Requires valid JWT token from auth system

Request body (form data):

  • group_name (required): Name of the new group
  • description (optional): Group description
  • create_in_keycloak (optional): Whether to create in Keycloak (default: true)

Response: Returns confirmation of group creation.

Example:

curl -X POST https://registry.example.com/api/servers/groups/create \
  -H "Authorization: Bearer $JWT_TOKEN" \
  -F "group_name=new-team" \
  -F "description=Team for new project" \
  -F "create_in_keycloak=true"
post/api/servers/groups/create

Response

Successful Response

{"stackTrail":"paths:/api/servers/groups/create:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}