Calagopus icon

Calagopus

Interact with the Calagopus API

Actions343

Admin Servers → Create Allocation

AI-generated

Summary

Create a new allocation for a specified server by providing the server UUID and request details as JSON or raw data.

Inputs

  • Server UUID (required) — The server UUID or identifier to which the allocation will be added.
  • Query Parameters JSON — Optional query parameters as a JSON object to include in the request.
  • Body Mode — Format of the request body; can be JSON, Raw Text, or None (defaults to JSON).
  • Body JSON — Request body details as a JSON object, merged with structured body data if applicable (used when Body Mode is JSON).
  • Raw Body — Request body as plain text (used when Body Mode is Raw Text).
  • Additional Options — Optional settings such as ignoring HTTP errors, returning full response, and request timeout.

Output shape

a single JSON object representing the created server allocation or an error structure if the request fails

Returns the API response body parsed as JSON. If configured, full HTTP response (status, headers, body) can be returned instead. Errors can be handled without failing the workflow if 'Ignore HTTP Status Errors' option is enabled.

Examples

Example 1: Create a new allocation with default JSON body

Specify server UUID and provide allocation details via Body JSON with Body Mode set to JSON.

Links

Discussion