# Admin endpoints
List of all implemented admin endpoints:

| Endpoint                                                      | Description                                                | Role        |
|:--------------------------------------------------------------|:-----------------------------------------------------------|:------------|
| `http://localhost:8080/sp-bo-ui-backend/admin/index`          | Reindex elasticsearch index (both dossiers and tasks).     | admin_index |
| `http://localhost:8080/sp-bo-ui-backend/admin/indexDossiers`  | Reindex dossiers in elasticsearch index                    | admin_index |
| `http://localhost:8080/sp-bo-ui-backend/admin/indexTasks`     | Reindex tasks in elasticsearch index                       | admin_index |
| `http://localhost:8080/sp-bo-ui-backend/admin/rules/reload`   | Reload all business rules                                  | admin       |
| `http://localhost:8080/sp-bo-ui-backend/admin/rules/catalog`  | List all rules (except the ones used for fee calculations) | admin       |
| `http://localhost:8080/sp-bo-ui-backend/admin/fees/drl`       | List all rules used for fee calculations                   | admin       |
| `http://localhost:8080/sp-bo-ui-backend/admin/fees/trademark` | List all fees for trademark related dossiers               | admin       |  
| `http://localhost:8080/sp-bo-ui-backend/admin/fees/design`    | List all fees for design related dossier                   | admin       |
| `http://localhost:8080/sp-bo-ui-backend/admin/cache/clear`    | Clear cache                                                | /           |

