IONOS Cloud Compute icon

IONOS Cloud Compute

Manage IONOS Cloud servers, volumes, images, and snapshots. Developped with Love by Ascenzia (ascenzia.fr)

Server → Update

AI-generated

Summary

Update an existing IONOS Cloud server.

Inputs

  • datacenterId (required) — The ID of the datacenter where the server resides.
  • serverId (required) — The ID of the server to update.
  • updateFields — Fields to update on the server. At least one field should be provided for the update to have an effect; if omitted, the server remains unchanged and the API will return the current server representation unchanged (or may respond with an error depending on the backend). The fields that can be updated are: name, cores, ram, bootVolume. Any subset may be supplied; only the supplied fields are patched on the server.

Output shape

array of objects, each containing a json property with the server representation returned by the IONOS Cloud API.

The node processes each input item and pushes the API response into the output array. For a successful update the json contains the full server object as returned by the PATCH /datacenters/{datacenterId}/servers/{serverId} endpoint.

Examples

Example 1: Rename a server and increase its RAM

Set datacenterId to the target datacenter UUID, serverId to the server UUID, and in updateFields set name to my-updated-server and ram to 4096.

Links

Discussion