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