Servers API¶
All endpoints require authentication. Server CRUD operations require admin role.
List Servers¶
Returns servers filtered by the user's allowed groups. Admin sees all.
Create Server (Admin)¶
Request
{
"name": "prod-web-01",
"hostname": "10.0.1.50",
"port": 22,
"username": "deploy",
"auth_method": "password",
"password": "secret",
"group": "production",
"tags": ["web", "nginx"],
"description": "Primary web server"
}
Get Server¶
Update Server (Admin)¶
Only send the fields you want to update.
Delete Server (Admin)¶
Test Connectivity¶
Groups¶
Returns distinct group names. Filtered by user's access.
Import (Admin)¶
Export (Admin)¶
Returns all servers as JSON (credentials excluded).