@DELETE
  @Path("{groupId}")
  @Produces(MediaType.TEXT_PLAIN)
  @ApiOperation(value = "Deletes a config group")
  @ApiResponses({
    @ApiResponse(code = HttpStatus.SC_OK, message = MSG_SUCCESSFUL_OPERATION),
    @ApiResponse(code = HttpStatus.SC_UNAUTHORIZED, message = MSG_NOT_AUTHENTICATED),
    @ApiResponse(code = HttpStatus.SC_FORBIDDEN, message = MSG_PERMISSION_DENIED),
    @ApiResponse(code = HttpStatus.SC_INTERNAL_SERVER_ERROR, message = MSG_SERVER_ERROR),
  })
  public Response deleteConfigGroup(@Context HttpHeaders headers,
                                    @Context UriInfo ui,
                                    @PathParam("groupId") String groupId) {
    return handleRequest(headers, null, ui, Request.Type.DELETE,
      createConfigGroupResource(m_clusterName, groupId));
  }
Handles DELETE /clusters/{clusterId}/config_groups/{groupId}
Delete a config group

@param headers
@param ui
@param groupId
@return
ambari-server/src/main/java/org/apache/ambari/server/api/services/ConfigGroupService.java