IONOS Cloud Compute icon

IONOS Cloud Compute

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

Server → Perform Action

AI-generated

Summary

Perform an action (start, stop, reboot, suspend, resume) on an IONOS Cloud server.

Inputs

  • datacenterId (required) — The ID of the datacenter containing the server.
  • serverId (required) — The ID of the server on which to perform the action.
  • serverAction (required) — The action to perform on the server (start, stop, reboot, suspend, resume).

Output shape

object

On success returns a JSON object with success flag, serverId and the action performed.

Examples

Example 1: Start a stopped server

Set serverAction to Start and provide valid datacenterId and serverId.

Links

Discussion