Calagopus icon

Calagopus

Interact with the Calagopus API

Actions343

Server Subusers → Update

AI-generated

Summary

Update an existing subuser of a specified server by sending a PATCH request to the Calagopus API with customizable query parameters and request body.

Inputs

  • Server UUID (required) — The unique identifier of the server to which the subuser belongs.
  • Subuser UUID (required) — The unique identifier of the subuser to update.
  • Query Parameters JSON — Optional JSON object containing query parameters to include in the API request URL.
  • Body Mode — Select 'JSON' to send the update data as a JSON object, 'Raw Text' to send plain text, or 'None' to send no body.
  • Body JSON — The JSON-formatted request body with update fields, used when Body Mode is 'JSON'.
  • Raw Body — The raw text to send as the request body, used when Body Mode is 'Raw Text'.
  • Additional Options — Optional settings such as ignoring HTTP errors, returning full HTTP response, and setting request timeout.

Output shape

a list of JSON objects representing the updated subuser data or error messages if the update fails for given items.

The operation sends a PATCH request to '/api/client/servers/{serverUuid}/subusers/{subuserUuid}' replacing the placeholders with provided UUIDs. Query parameters can be supplied via JSON. The request body is sent according to the selected Body Mode, defaulting to JSON. Responses include only the response body by default but can include full HTTP response details if specified. Errors can be optionally returned as item data to continue workflow execution.

Examples

Example 1: Update subuser details with JSON body

Set resource to 'Server Subusers', operation to 'Update', provide serverUuid and subuserUuid, select Body Mode 'JSON', and specify desired fields in Body JSON.

Links

Discussion