Create a server
In this page
UI
- First server: created during
/auth/setup(bootstrap wizard). - Later servers:
/servers— use the create flow in the UI if exposed; otherwise use API/Swagger.
API
| Method | Path | Roles (typical) |
|---|---|---|
GET | /servers | Most roles (read). |
POST | /servers | SUPERADMIN, ADMIN, RESELLER, DEVELOPER. |
POST | /servers/bootstrap/local | SUPERADMIN, ADMIN — ensures local seed data per service implementation. |
GET | /servers/:id | Read. |
DELETE | /servers/:id | SUPERADMIN, ADMIN. |
All paths are under /api/v1. See Swagger for DTOs.
Limitations
On /servers/:id, buttons for remote package updates and remote reboot are currently disabled in the UI (“not implemented yet”). Server records are primarily inventory + metrics placeholders until remote agents ship.