Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Hetzner Server Actions API

The Server Actions API from Hetzner — 27 operation(s) for server actions.

Hetzner Server Actions API is one of 32 APIs that Hetzner publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Server Actions. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and a getting-started guide.

This API exposes 27 operations across 27 paths. It is described by OpenAPI 3.0.3, at version 1.0.0.

Requests are made against a single base URL, https://api.hetzner.cloud/v1.

27 operations 27 paths 0 schemas 4 GET23 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.0
Base URL
https://api.hetzner.cloud/v1
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Hetzner Server Actions API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (APIToken). By default, every request must be authenticated.

Paths & Operations 27

Across 27 paths, the API surfaces 27 operations — 4 GET, 23 POST. Each is listed below with its method, path, parameters, and response codes.

Server Actions 27
GET
/servers/actions
List Actions
list_servers_actions 5 params → 2004xx5xx
GET
/servers/actions/{id}
Get an Action
get_servers_action 1 param → 2004xx5xx
GET
/servers/{id}/actions
List Actions for a Server
list_server_actions 5 params → 2004xx5xx
POST
/servers/{id}/actions/add_to_placement_group
Add a Server to a Placement Group
add_server_to_placement_group 1 param body → 2014xx5xx
POST
/servers/{id}/actions/attach_iso
Attach an ISO to a Server
attach_server_iso 1 param body → 2014xx5xx
POST
/servers/{id}/actions/attach_to_network
Attach a Server to a Network
attach_server_to_network 1 param body → 2014xx5xx
POST
/servers/{id}/actions/change_alias_ips
Change alias IPs of a Network
change_server_alias_ips 1 param body → 2014xx5xx
POST
/servers/{id}/actions/change_dns_ptr
Change reverse DNS entry for this Server
change_server_dns_ptr 1 param body → 2014xx5xx
POST
/servers/{id}/actions/change_protection
Change Server Protection
change_server_protection 1 param body → 2014xx5xx
POST
/servers/{id}/actions/change_type
Change the Type of a Server
change_server_type 1 param body → 2014xx5xx
POST
/servers/{id}/actions/create_image
Create Image from a Server
create_server_image 1 param body → 2014xx5xx
POST
/servers/{id}/actions/detach_from_network
Detach a Server from a Network
detach_server_from_network 1 param body → 2014xx5xx
POST
/servers/{id}/actions/detach_iso
Detach an ISO from a Server
detach_server_iso 1 param → 2014xx5xx
POST
/servers/{id}/actions/disable_backup
Disable Backups for a Server
disable_server_backup 1 param → 2014xx5xx
POST
/servers/{id}/actions/disable_rescue
Disable Rescue Mode for a Server
disable_server_rescue 1 param → 2014xx5xx
POST
/servers/{id}/actions/enable_backup
Enable and Configure Backups for a Server
enable_server_backup 1 param → 2014xx5xx
POST
/servers/{id}/actions/enable_rescue
Enable Rescue Mode for a Server
enable_server_rescue 1 param body → 2014xx5xx
POST
/servers/{id}/actions/poweroff
Power off a Server
poweroff_server 1 param → 2014xx5xx
POST
/servers/{id}/actions/poweron
Power on a Server
poweron_server 1 param → 2014xx5xx
POST
/servers/{id}/actions/reboot
Soft-reboot a Server
reboot_server 1 param → 2014xx5xx
POST
/servers/{id}/actions/rebuild
Rebuild a Server from an Image
rebuild_server 1 param body → 2014xx5xx
POST
/servers/{id}/actions/remove_from_placement_group
Remove from Placement Group
remove_server_from_placement_group 1 param → 2014xx5xx
POST
/servers/{id}/actions/request_console
Request Console for a Server
request_server_console 1 param → 2014xx5xx
POST
/servers/{id}/actions/reset
Reset a Server
reset_server 1 param → 2014xx5xx
POST
/servers/{id}/actions/reset_password
Reset root Password of a Server
reset_server_password 1 param → 2014xx5xx
POST
/servers/{id}/actions/shutdown
Shutdown a Server
shutdown_server 1 param → 2014xx5xx
GET
/servers/{id}/actions/{action_id}deprecated
Get an Action for a Server
get_server_action 2 params → 2004xx5xx

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

hetzner-server-actions-api-openapi.yml Raw ↑

Other APIs Hetzner publishes across the network.

Hetzner DNS API
Hetzner Actions API
Hetzner Certificate Actions API
Hetzner Certificates API
Hetzner Data Centers API
Hetzner Firewall Actions API
Hetzner Firewalls API
Hetzner Floating IP Actions API
Hetzner Floating IPs API
Hetzner Image Actions API
Hetzner Images API
Hetzner ISOs API