Admin - Servers
Server Actions
Perform power and management actions on a server
POST
Authentication
This endpoint requires admin authentication and theservers:write permission.
Path Parameters
Server ID or UUID
Request Body
Action to perform. One of:
start- Start the serverstop- Stop the server gracefullyrestart- Restart the serverkill- Force kill the server processsuspend- Suspend the serverunsuspend- Unsuspend the serverreinstall- Reinstall the serverdelete- Delete the server
Response
Action Details
Power Actions
- start: Starts the server if it’s stopped
- stop: Sends a graceful shutdown signal
- restart: Stops and then starts the server
- kill: Force terminates the server process (use with caution)
Management Actions
- suspend: Prevents the server from starting and stops it if running
- unsuspend: Removes suspension and allows the server to start
- reinstall: Triggers a fresh installation of the server
- delete: Deletes the server entirely
Error Responses
- 403 Forbidden: Wings authentication failed
- 503 Service Unavailable: Wings daemon is unavailable
- 500 Internal Server Error: Action failed for other reasons