Calagopus icon

Calagopus

Interact with the Calagopus API

Actions343

Server Settings → Update Auto Kill

AI-generated

Summary

Update the auto-kill settings for a specific server identified by its UUID.

Inputs

  • Server UUID (required) — The server UUID or identifier for which to update auto-kill settings.
  • Query Parameters JSON — Optional query parameters to include in the API request as a JSON object.
  • Body Mode — Format of the request body, can be JSON, raw text, or none; defaults to JSON.
  • Enabled — Boolean to specify whether auto-kill should be enabled for the server (available when Body Mode is JSON).
  • Seconds — Number of seconds to wait before auto-killing the server (available when Body Mode is JSON).
  • Body JSON — Additional request body parameters as a JSON object to be merged into the auto-kill update (when Body Mode is JSON).
  • Raw Body — Raw text to send as the request body when Body Mode is set to raw.
  • Additional Options — Additional request options such as ignoring HTTP errors, returning the full response, and request timeout.

Output shape

a single JSON object indicating success or containing details of the updated auto-kill settings

The operation performs a PUT request to update the auto-kill settings of a server with the given UUID. The response is a JSON object that is wrapped to ensure consistent structure. Optional query parameters and additional request body fields can be included. Errors may be returned based on HTTP response unless set to ignore via Additional Options.

Examples

Example 1: Enable auto-kill for a server with a 60-second timeout

Provide the Server UUID, set Enabled to true, and Seconds to 60. Use Body Mode JSON to send these as the request body parameters.

Links

Discussion