View .md

Bulk endpoints (Client API: game servers)

1 FeatherPanel Client API: game servers endpoint from user/server/bulk.php: methods, paths, auth, permissions, rate limits, parameters and responses.

Last synced from FeatherPanel 15b94e9 on .

On this page

Defined in backend/app/routes/user/server/bulk.php. Authentication used here: Signed-in user. Read Authentication for how to send credentials and Rate limits and errors for the response envelope.

Paths, methods, permissions and rate limits come from the route file. Summaries, parameters and response codes come from the OpenAPI annotations on the controllers; endpoints without annotations show only what the route file declares.

Endpoints

POST/api/user/servers/bulk-action

Auth: Signed-in userDefault rate limit: 6 / minute (user-server-bulk)Route name: session-server-bulk-actionController: ServerBulkActionController::runroute source

Run an action on several servers Send start, stop, restart, kill or reinstall to up to 25 servers (10 for reinstall). Each server is checked like the single-server endpoints and gets its own result.

Body fieldTypeRequiredDescription
actionstringyes
serversstring[]yesServer short UUIDs
curl -X POST "$PANEL_URL/api/user/servers/bulk-action" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"action":"","servers":[]}'

Responses: 200 Per-server results · 400 Invalid action or server list · 401 Not authenticated