Calagopus icon

Calagopus

Interact with the Calagopus API

Actions343

Client Server → Create Server Group

AI-generated

Summary

Create a new server group by sending a POST request to the Calagopus API endpoint for client server groups.

Inputs

  • Query Parameters JSON — Optional query parameters to include in the request as a JSON object.
  • Body Mode — Specifies the format of the request body: JSON (default), raw text, or none.
  • Body JSON — Request body as a JSON object, sending the details of the server group to create. Merged with any structured body fields if applicable.
  • Raw Body — Request body as raw plain text, used if Body Mode is set to raw.
  • Additional Options — Additional request options including ignoring HTTP errors, returning the full HTTP response, and setting a timeout in milliseconds.

Output shape

a single JSON object representing the created server group or the API response

The operation sends a POST request to the endpoint '/api/client/servers/groups'. The input JSON or raw body defines the server group details. By default, Content-Type is set to application/json for JSON bodies and text/plain for raw bodies. Optionally, the full HTTP response (status, headers, body) can be returned, or errors can be handled without failing the workflow depending on additional options.

Examples

Example 1: Create a server group named 'My Group' with description using the Body JSON input and default JSON body mode.

Set 'Resource' to 'Client Server', 'Operation' to 'Create Server Group', provide bodyJson with server group details like {"name": "My Group", "description": "Example description"}.

Links

Discussion