Server Management
Delete Group Api
Delete a scope group via JWT authentication (External API).
This endpoint provides the same functionality as POST /api/internal/delete-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 group to delete
- delete_from_keycloak (optional): Whether to delete from Keycloak (default: true)
- force (optional): Force deletion of system groups (default: false)
Response: Returns confirmation of group deletion.
Example:
curl -X POST https://registry.example.com/api/servers/groups/delete \
-H "Authorization: Bearer $JWT_TOKEN" \
-F "group_name=old-team" \
-F "delete_from_keycloak=true" \
-F "force=false"
post/api/servers/groups/delete
Request
- The document declares no server URL.
- AuthHTTP bearer
Request body application/x-www-form-urlencoded
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 4 revisions of this API.