Actions22
- Server Actions
- Volume Actions
- Image Actions
- Snapshot Actions
Server → Update
AI-generatedSummary
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
jsoncontains 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.