Calagopus icon

Calagopus

Interact with the Calagopus API

Actions343

Client Server → Set Power State

AI-generated

Summary

Send a power signal to a Calagopus server by UUID or identifier, choosing kill, restart, start, or stop. The request uses the authenticated Calagopus API and returns its response body as an n8n item.

Inputs

  • Server UUID (required) — The server UUID or identifier to target.
  • Power Action (required) — Choose kill, restart, start, or stop. Defaults to start; the selected value is sent as the JSON body's action field.
  • Query Parameters JSON — Optional query parameters as a JSON object; defaults to an empty object.
  • Body Mode — Choose JSON, Raw Text, or None. In JSON mode, the selected Power Action is included in the body and Body JSON fields are merged over it. Raw Text sends the supplied text; None omits the body.
  • Body JSON — In JSON mode, optional JSON object merged over the action field; matching keys can override it.
  • Raw Body — In Raw Text mode, the plain text request body.
  • Additional Options — Optionally return HTTP status, headers, and body; return HTTP status errors instead of failing the item; or set a request timeout in milliseconds (0 uses n8n defaults).

Output shape

A single n8n item per input item, containing the API response body as JSON.

Array responses are wrapped in a data property; scalar responses are also wrapped in data; an empty response becomes {"success":true}. With Return Full Response enabled, the output contains the full HTTP response. If the node is set to continue on fail, failed items contain an error field.

Links

Discussion