Optional
baseUrl: stringAdd a server to a placement group
The ID of the server to add to the placement group
The ID of the placement group to add the server to
Attach an ISO to a server
The ID of the server to attach the ISO to
The ID or name of ISO to attach to the Server
Attach a server to a network
The ID of the server to attach to the network
The ID of the network to attach the server to
Optional
ip: stringOptional IP to assign to the server
Optional
aliasIps: string[]Optional array of alias IPs to assign to the server
Change alias IP of network
The ID of the server to change the alias IP of
The ID of the network to change the alias IP of
The new alias IPs to assign to the server
Change reverse DNS entry for this Server
The ID of the server to change the reverse DNS entry of
The IP to change the reverse DNS entry of
The new reverse DNS entry to assign to the server
Change Server Protection
The ID of the server to change the protection of
Optional
protect: booleanWhether to protect the server or not
Optional
rebuild: booleanChange the Type of a Server
The ID of the server to change the type of
The new server type to change to
Whether to upgrade the disk during type change
Create Image from Server
The ID of the server to create an image from
Optional
type: "snapshot" | "backup"Optional
description: stringThe description of the image to create
Optional
labels: Record<string, string>Detach an ISO from a Server
The ID of the server to detach the ISO from
Detach a server from a network
The ID of the server to detach from the network
The ID of the network to detach the server from
Disable Backups for a Server
The ID of the server to disable backups for
Disable Rescue Mode for a Server
The ID of the server to disable rescue mode for
Enables and configures the automatic daily backup option
The ID of the server to enable and configure backups for
Enable Rescue Mode for a Server
The ID of the server to enable rescue mode for
Optional
type: "linux64"Optional
sshKeys: number[]Get a specific action by ID
The ID of the action to get
Get an action for a server
The ID of the server to get the action for
The ID of the action to get
List all actions for Server (globally, not for a specific volume)
Optional
params: ListServerActionsParamsOptional parameters for filtering and pagination
List all actions for a server
The ID of the server to list actions for
Optional
params: ListServerActionsParamsOptional parameters for filtering and pagination
Power off a server
The ID of the server to power off
Power on a server
The ID of the server to power on
Rebuild a Server from an Image
The ID of the server to rebuild
The ID or name of the image to rebuild the server from
Remove from placement group
The ID of the server to remove from the placement group
Request Console for a Server
The ID of the server to request the console for
Reset a server
The ID of the server to reset
Reset Root Password
The ID of the server to reset the root password for
Shutdown a server
The ID of the server to shutdown
Soft reboot a server
The ID of the server to soft reboot
Server Actions API
Actions are the individual operations that can be performed on a server. https://docs.hetzner.cloud/#server-actions