hetzner

v4.1.0
io.github.lazyants/hetzner Checked 1 hour ago Published 17 days ago

MCP server for the Hetzner Cloud API — servers, networks, volumes, firewalls, and more.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

hetzner_list_servers List Servers

List all servers in the project, with optional filtering by name, label, or status.

ParameterTypeDescription
label_selectorstringLabel filter, e.g. "env=prod,tier=web"
namestringFilter by server name
pageintegerPage number
per_pageintegerResults per page (max 50)
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields
statusstringFilter by server status

hetzner_get_server Get Server

Get details of a specific server by ID.

ParameterTypeDescription
id *integerServer ID

hetzner_create_server Create Server

Create a new server with the specified type, image, and configuration options.

ParameterTypeDescription
image *stringImage name or ID to use (e.g. "ubuntu-22.04", "debian-12")
name *stringName of the server
server_type *stringServer type name or ID (e.g. "cx22", "cpx11")
automountbooleanAuto-mount the volumes passed in "volumes" after attach
firewallsarrayFirewalls to apply to the server
labelsobjectLabels as key-value pairs
locationstringLocation name (e.g. "fsn1", "nbg1", "hel1")
networksarrayNetwork IDs to attach the server to
placement_groupnumberPlacement group ID
public_netobjectPublic network configuration
ssh_keysarraySSH key names or IDs to inject
start_after_createbooleanStart server after creation (default: true)
user_datastringCloud-init user data (base64 or plain text)
volumesarrayVolume IDs to attach at creation

hetzner_update_server Update Server

Update a server's name or labels.

ParameterTypeDescription
id *integerServer ID
labelsobjectLabels as key-value pairs
namestringNew server name

hetzner_delete_server Delete Server

Permanently delete a server. This destroys the server and all associated data.

ParameterTypeDescription
id *integerServer ID

hetzner_power_on Power On Server

Start a stopped server by powering it on.

ParameterTypeDescription
id *integerServer ID

hetzner_power_off Power Off Server

Force power off a server immediately. This is like pulling the power cord.

ParameterTypeDescription
id *integerServer ID

hetzner_reboot Reboot Server

Send an ACPI reboot signal to the server for a soft reboot.

ParameterTypeDescription
id *integerServer ID

hetzner_reset Reset Server

Perform a hard reset on the server, equivalent to pressing the reset button.

ParameterTypeDescription
id *integerServer ID

hetzner_shutdown Shutdown Server

Send an ACPI shutdown signal for a graceful OS shutdown.

ParameterTypeDescription
id *integerServer ID

hetzner_rebuild_server Rebuild Server

Rebuild a server from an image, wiping all data on the server.

ParameterTypeDescription
id *integerServer ID
image *stringImage name or ID to rebuild from
user_datastringCloud-init user data to apply to the rebuilt server. Overrides the value set at creation.

hetzner_resize_server Resize Server

Change the server type. The server will be stopped and migrated if needed.

ParameterTypeDescription
id *integerServer ID
server_type *stringTarget server type name (e.g. "cx22")
upgrade_disk *booleanWhether to upgrade the disk size (cannot be downgraded later)

hetzner_enable_rescue Enable Rescue Mode

Enable rescue mode on a server. The server must be rebooted to enter rescue mode.

ParameterTypeDescription
id *integerServer ID
ssh_keysarraySSH key IDs to inject into rescue system
typestringRescue system type

hetzner_disable_rescue Disable Rescue Mode

Disable rescue mode on a server. The next reboot will boot normally.

ParameterTypeDescription
id *integerServer ID

hetzner_get_server_metrics Get Server Metrics

Retrieve time series metrics (CPU, disk, network) for a server over a time range.

ParameterTypeDescription
end *stringEnd of period, ISO 8601 timestamp (e.g. "2025-01-02T00:00:00Z")
id *integerServer ID
start *stringStart of period, ISO 8601 timestamp (e.g. "2025-01-01T00:00:00Z")
type *stringComma-separated metric types: "cpu", "disk", "network"
stepnumberResolution of metric samples in seconds, e.g. 60

hetzner_list_server_actions List Server Actions

List all actions for a specific server, such as power changes and rebuilds.

ParameterTypeDescription
id *integerServer ID
pageintegerPage number
per_pageintegerResults per page (max 50)
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields
statusFilter by action status: "running", "success", or "error"; pass an array for multiple statuses

hetzner_change_server_protection Change Server Protection

Enable or disable delete and rebuild protection on a server to guard against accidental destruction.

ParameterTypeDescription
id *integerServer ID
deletebooleanIf true, prevents the server from being deleted
rebuildbooleanIf true, prevents the server from being rebuilt

hetzner_request_console Request Server Console

Request a noVNC WebSocket URL and credentials to access the server console. The URL is valid for a limited time.

ParameterTypeDescription
id *integerServer ID

hetzner_enable_backup Enable Server Backup

Enable automatic daily backups for a server. Backups increase the server price by 20 percent. The backup window is chosen automatically.

ParameterTypeDescription
id *integerServer ID

hetzner_disable_backup Disable Server Backup

Disable automatic backups for a server and remove all existing backup snapshots.

ParameterTypeDescription
id *integerServer ID

hetzner_change_alias_ips Change Server Alias IPs

Replace the alias IPs that a server has on a private network. The list overrides any existing alias IPs for that network.

ParameterTypeDescription
alias_ips *arrayFull list of alias IPs to set on the network (replaces existing). Pass [] to clear.
id *integerServer ID
network *integerID of the network the server is attached to

hetzner_change_dns_ptr Change Server Reverse DNS

Change the reverse DNS entry for one of a server's public IPv4 or IPv6 addresses. Set dns_ptr to null to reset to the default.

ParameterTypeDescription
dns_ptr *string | nullReverse DNS PTR record value, or null to reset to the default
id *integerServer ID
ip *stringPublic IPv4 or IPv6 address of the server to set the reverse DNS entry for

hetzner_attach_server_to_network Attach Server to Network

Attach a server to a private network, optionally assigning a specific IP, alias IPs, or IP range.

ParameterTypeDescription
id *integerServer ID
network *integerID of the network to attach the server to
alias_ipsarrayAdditional alias IPs to assign the server on the network
ipstringPrivate IP to assign the server in the network (within the network IP range)
ip_rangestringSubnet IP range (CIDR) to attach to, e.g. "10.0.1.0/24"

hetzner_detach_server_from_network Detach Server from Network

Detach a server from a private network, removing its private connectivity on that network.

ParameterTypeDescription
id *integerServer ID
network *integerID of the network to detach the server from

hetzner_add_server_to_placement_group Add Server to Placement Group

Add a server to a placement group. The server must be powered off before it can be added.

ParameterTypeDescription
id *integerServer ID
placement_group *integerID of the placement group to add the server to

hetzner_remove_server_from_placement_group Remove Server from Placement Group

Remove a server from its placement group.

ParameterTypeDescription
id *integerServer ID

hetzner_reset_server_password Reset Server Root Password

Reset the root password of a server. The server is rebooted and a new root password is returned in the result.

ParameterTypeDescription
id *integerServer ID

hetzner_list_locations List Locations

List all available Hetzner Cloud locations (regions).

ParameterTypeDescription
namestringFilter by location name
pageintegerPage number
per_pageintegerResults per page (max 50)

hetzner_get_location Get Location

Get details of a specific location by ID.

ParameterTypeDescription
id *integerLocation ID

hetzner_list_server_types List Server Types

List server types with specs, pricing, and per-location availability and recommendations.

ParameterTypeDescription
namestringFilter by server type name
pageintegerPage number
per_pageintegerResults per page (max 50)

hetzner_get_server_type Get Server Type

Get details of a specific server type, including specs and pricing.

ParameterTypeDescription
id *integerServer type ID

hetzner_get_pricing Get Pricing

Get current Hetzner Cloud prices, optionally selecting one resource category or traffic prices. Currency and VAT rate are included with filtered results.

ParameterTypeDescription
resourcestringResource category to return; omit for all prices

hetzner_wait_for_action Wait for Action

Wait for a resource action to reach success or error and return its full details. The timeout includes API requests and rate-limit delays.

ParameterTypeDescription
action_id *integerAction ID to wait for
domain *stringResource domain owning the action
resource_id *integerResource ID owning the action
timeoutnumberMaximum wait in seconds, including requests and rate-limit delays (default 300, max 3600)

hetzner_list_networks List Networks

List all networks in the project, with optional filtering by name or labels.

ParameterTypeDescription
label_selectorstringLabel filter, e.g. "env=prod,tier=web"
namestringFilter by name
pageintegerPage number
per_pageintegerResults per page (max 50)
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields

hetzner_list_network_members List Network Members

List resources attached to a network, with their subnet, IP addresses, and attachment status. Filter by resource type, subnet, or status.

ParameterTypeDescription
id *integerNetwork ID
pageintegerPage number
per_pageintegerResults per page (max 50)
sortSort by id, type, status, or ip, e.g. "id:asc"; pass an array for multiple fields
statusAttachment status filter; pass an array for multiple statuses
subnetSubnet IP range in CIDR notation; pass an array for multiple subnets
typeResource type filter; pass an array for multiple types

hetzner_get_network Get Network

Get details of a specific network by its ID.

ParameterTypeDescription
id *integerResource ID

hetzner_create_network Create Network

Create a new network with the specified IP range, and optionally subnets and routes.

ParameterTypeDescription
ip_range *stringIP range of the whole network, e.g. "10.0.0.0/8"
name *stringName of the network
expose_routes_to_vswitchbooleanWhether to expose routes to the vSwitch
labelsobjectLabels as key-value pairs
routesarrayArray of routes to create
subnetsarrayArray of subnets to create

hetzner_update_network Update Network

Update properties of a network such as name, labels, or vSwitch route exposure.

ParameterTypeDescription
id *integerResource ID
expose_routes_to_vswitchbooleanWhether to expose routes to the vSwitch
labelsobjectLabels as key-value pairs
namestringNew name for the network

hetzner_delete_network Delete Network

Delete a network. All subnets and routes within it will also be deleted.

ParameterTypeDescription
id *integerResource ID

hetzner_add_subnet Add Subnet to Network

Add a subnet to an existing network.

ParameterTypeDescription
id *integerResource ID
network_zone *stringName of the network zone, e.g. "eu-central"
type *stringSubnet type: cloud or vswitch; server is a deprecated alias normalized to cloud (upstream removal 2027-04-15)
ip_rangestringIP range of the subnet
vswitch_idintegerID of the vSwitch (required for vswitch type)

hetzner_delete_subnet Delete Subnet from Network

Remove a subnet from an existing network by its IP range.

ParameterTypeDescription
id *integerResource ID
ip_range *stringIP range of the subnet to delete

hetzner_add_route Add Route to Network

Add a route to an existing network.

ParameterTypeDescription
destination *stringDestination network of the route
gateway *stringGateway for the route
id *integerResource ID

hetzner_delete_route Delete Route from Network

Remove a route from an existing network.

ParameterTypeDescription
destination *stringDestination network of the route to delete
gateway *stringGateway of the route to delete
id *integerResource ID

hetzner_change_ip_range Change Network IP Range

Expand the IP range of an existing network. The new CIDR range must contain the current range; shrinking is not supported.

ParameterTypeDescription
id *integerNetwork ID
ip_range *stringNew IP range in CIDR notation (e.g. "10.0.0.0/8"). Must be a superset of the current range.

hetzner_change_network_protection Change Network Protection

Enable or disable delete protection on a network to guard against accidental destruction.

ParameterTypeDescription
id *integerNetwork ID
deletebooleanIf true, prevents the network from being deleted

hetzner_list_network_actions List Network Actions

List all actions performed on a specific network, such as subnet and route changes.

ParameterTypeDescription
id *integerNetwork ID
pageintegerPage number
per_pageintegerResults per page (max 50)
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields
statusFilter by action status: "running", "success", or "error"; pass an array for multiple statuses

hetzner_list_firewalls List Firewalls

List all firewalls in the project, with optional filtering by name or labels.

ParameterTypeDescription
label_selectorstringLabel filter, e.g. "env=prod,tier=web"
namestringFilter by name
pageintegerPage number
per_pageintegerResults per page (max 50)
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields

hetzner_get_firewall Get Firewall

Get details of a specific firewall by its ID.

ParameterTypeDescription
id *integerResource ID

hetzner_create_firewall Create Firewall

Create a new firewall with optional rules and resource assignments.

ParameterTypeDescription
name *stringName of the firewall
apply_toarrayResources to apply the firewall to
labelsobjectLabels as key-value pairs
rulesarrayArray of firewall rules

hetzner_update_firewall Update Firewall

Update a firewall name or labels.

ParameterTypeDescription
id *integerResource ID
labelsobjectLabels as key-value pairs
namestringNew name for the firewall

hetzner_delete_firewall Delete Firewall

Delete a firewall. It must be removed from all resources first.

ParameterTypeDescription
id *integerResource ID

hetzner_set_firewall_rules Set Firewall Rules

Replace all rules of a firewall with a new set of rules.

ParameterTypeDescription
id *integerResource ID
rules *arrayNew set of firewall rules (replaces all existing)

hetzner_apply_firewall Apply Firewall to Resources

Apply a firewall to one or more servers or label selectors.

ParameterTypeDescription
apply_to *arrayResources to apply the firewall to
id *integerResource ID

hetzner_remove_firewall Remove Firewall from Resources

Remove a firewall from one or more servers or label selectors.

ParameterTypeDescription
id *integerResource ID
remove_from *arrayResources to remove the firewall from

hetzner_list_firewall_actions List Firewall Actions

List all actions performed on a specific firewall, such as rule and resource attachment changes.

ParameterTypeDescription
id *integerFirewall ID
pageintegerPage number
per_pageintegerResults per page (max 50)
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields
statusFilter by action status: "running", "success", or "error"; pass an array for multiple statuses

hetzner_list_load_balancers List Load Balancers

List all load balancers in the project, with optional filtering by name or labels.

ParameterTypeDescription
label_selectorstringLabel filter, e.g. "env=prod,tier=web"
namestringFilter by name
pageintegerPage number
per_pageintegerResults per page (max 50)
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields

hetzner_get_load_balancer Get Load Balancer

Get details of a specific load balancer by its ID.

ParameterTypeDescription
id *integerResource ID

hetzner_create_load_balancer Create Load Balancer

Create a new load balancer with the specified type, location, and optional targets and services.

ParameterTypeDescription
load_balancer_type *stringLoad balancer type name or ID
name *stringName of the load balancer
algorithmobjectLoad balancing algorithm
labelsobjectLabels as key-value pairs
locationstringLocation name (e.g. "fsn1"), mutually exclusive with network_zone
networkintegerNetwork ID to attach to
network_zonestringNetwork zone (e.g. "eu-central"), mutually exclusive with location
public_interfacebooleanEnable the public interface
public_netobjectExisting Primary IPs to assign at creation; assignments cannot be changed later
servicesarrayArray of services
targetsarrayArray of targets

hetzner_update_load_balancer Update Load Balancer

Update a load balancer name or labels.

ParameterTypeDescription
id *integerResource ID
labelsobjectLabels as key-value pairs
namestringNew name for the load balancer

hetzner_delete_load_balancer Delete Load Balancer

Permanently delete a load balancer.

ParameterTypeDescription
id *integerResource ID

hetzner_add_lb_target Add Load Balancer Target

Add a target (server, label selector, or IP) to a load balancer.

ParameterTypeDescription
id *integerResource ID
type *stringTarget type
ipobjectIP target
label_selectorobjectLabel selector target
serverobjectServer target
use_private_ipbooleanUse private IP for the target

hetzner_remove_lb_target Remove Load Balancer Target

Remove a target from a load balancer.

ParameterTypeDescription
id *integerResource ID
type *stringTarget type
ipobjectIP target
label_selectorobjectLabel selector target
serverobjectServer target

hetzner_add_lb_service Add Load Balancer Service

Add a service (port listener with forwarding rules) to a load balancer.

ParameterTypeDescription
destination_port *integerPort traffic is forwarded to
id *integerResource ID
listen_port *integerPort the load balancer listens on
protocol *stringService protocol: tcp, http, or https
health_checkobjectHealth check configuration
httpobjectHTTP-specific service settings
proxyprotocolbooleanEnable PROXY protocol

hetzner_update_lb_service Update Load Balancer Service

Update an existing service on a load balancer.

ParameterTypeDescription
destination_port *integerPort traffic is forwarded to
id *integerResource ID
listen_port *integerPort the load balancer listens on
protocol *stringService protocol: tcp, http, or https
health_checkobjectHealth check configuration
httpobjectHTTP-specific service settings
proxyprotocolbooleanEnable PROXY protocol

hetzner_delete_lb_service Delete Load Balancer Service

Remove a service from a load balancer by its listen port.

ParameterTypeDescription
id *integerResource ID
listen_port *integerListen port of the service to delete

hetzner_change_lb_algorithm Change Load Balancer Algorithm

Change the balancing algorithm of a load balancer.

ParameterTypeDescription
id *integerResource ID
type *stringAlgorithm type

hetzner_change_lb_type Change Load Balancer Type

Change the type (plan) of a load balancer.

ParameterTypeDescription
id *integerResource ID
load_balancer_type *stringNew load balancer type name or ID

hetzner_attach_lb_to_network Attach Load Balancer to Network

Attach a load balancer to a network.

ParameterTypeDescription
id *integerResource ID
network *integerNetwork ID to attach to
ipstringIP address to assign in the network
ip_rangestringSubnet IP range (CIDR) to attach to, e.g. "10.0.1.0/24"

hetzner_detach_lb_from_network Detach Load Balancer from Network

Detach a load balancer from a network.

ParameterTypeDescription
id *integerResource ID
network *integerNetwork ID to detach from

hetzner_get_lb_metrics Get Load Balancer Metrics

Get metrics for a load balancer over a specified time range.

ParameterTypeDescription
end *stringEnd of the time range in ISO 8601 format
id *integerResource ID
start *stringStart of the time range in ISO 8601 format
type *stringMetric type, e.g. "open_connections", "connections_per_second", "requests_per_second", "bandwidth.in", "bandwidth.out"
stepnumberResolution of metric samples in seconds, e.g. 60

hetzner_list_lb_types List Load Balancer Types

List all available load balancer types with pricing and limits.

ParameterTypeDescription
namestringFilter by type name
pageintegerPage number
per_pageintegerResults per page (max 50)

hetzner_change_load_balancer_protection Change Load Balancer Protection

Enable or disable delete protection on a load balancer to guard against accidental destruction.

ParameterTypeDescription
id *integerLoad Balancer ID
deletebooleanIf true, prevents the load balancer from being deleted

hetzner_list_load_balancer_actions List Load Balancer Actions

List all actions performed on a specific load balancer, such as service changes and target attachments.

ParameterTypeDescription
id *integerLoad Balancer ID
pageintegerPage number
per_pageintegerResults per page (max 50)
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields
statusFilter by action status: "running", "success", or "error"; pass an array for multiple statuses

hetzner_enable_lb_public_interface Enable Load Balancer Public Interface

Enable the public network interface of a load balancer so it can be reached over public IPs.

ParameterTypeDescription
id *integerLoad Balancer ID

hetzner_disable_lb_public_interface Disable Load Balancer Public Interface

Disable the public network interface of a load balancer, removing its public connectivity.

ParameterTypeDescription
id *integerLoad Balancer ID

hetzner_change_lb_dns_ptr Change Load Balancer Reverse DNS

Change the reverse DNS entry for one of a load balancer's public IP addresses. Set dns_ptr to null to reset to the default.

ParameterTypeDescription
dns_ptr *string | nullReverse DNS PTR record value, or null to reset to the default
id *integerLoad Balancer ID
ip *stringPublic IPv4 or IPv6 address of the load balancer to set the reverse DNS entry for

hetzner_list_certificates List Certificates

List all SSL/TLS certificates in the project, with optional filtering.

ParameterTypeDescription
label_selectorstringLabel filter, e.g. "env=prod,tier=web"
namestringFilter by name
pageintegerPage number
per_pageintegerResults per page (max 50)
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields
typestringFilter by certificate type

hetzner_get_certificate Get Certificate

Get details of a specific certificate by its ID.

ParameterTypeDescription
id *integerResource ID

hetzner_create_certificate Create Certificate

Create an uploaded certificate (provide PEM data) or a managed certificate (provide domain names).

ParameterTypeDescription
name *stringName of the certificate
certificatestringPEM-encoded certificate (required for uploaded type)
domain_namesarrayDomain names (required for managed type)
labelsobjectLabels as key-value pairs
private_keystringPEM-encoded private key (required for uploaded type)
typestringCertificate type (default: uploaded)

hetzner_update_certificate Update Certificate

Update a certificate name or labels.

ParameterTypeDescription
id *integerResource ID
labelsobjectLabels as key-value pairs
namestringNew name for the certificate

hetzner_delete_certificate Delete Certificate

Delete a certificate. It must not be in use by any load balancer.

ParameterTypeDescription
id *integerResource ID

hetzner_retry_certificate Retry Certificate Issuance

Retry issuance or renewal of a managed certificate that has failed.

ParameterTypeDescription
id *integerResource ID

hetzner_list_certificate_actions List Certificate Actions

List all actions performed on a specific certificate, such as issuance and renewal retries.

ParameterTypeDescription
id *integerCertificate ID
pageintegerPage number
per_pageintegerResults per page (max 50)
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields
statusFilter by action status: "running", "success", or "error"; pass an array for multiple statuses

hetzner_list_floating_ips List Floating IPs

List all floating IPs in the project, with optional filtering by name or label.

ParameterTypeDescription
label_selectorstringLabel filter, e.g. "env=prod,tier=web"
namestringFilter by floating IP name
pageintegerPage number
per_pageintegerResults per page (max 50)
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields

hetzner_get_floating_ip Get Floating IP

Get details of a specific floating IP by ID.

ParameterTypeDescription
id *integerFloating IP ID

hetzner_create_floating_ip Create Floating IP

Create a new floating IP. Either home_location or server must be provided.

ParameterTypeDescription
type *stringIP type
descriptionstringDescription of the floating IP
home_locationstringHome location name (e.g. "fsn1"). Required if server is not set
labelsobjectLabels as key-value pairs
namestringName of the floating IP
serverintegerServer ID to assign the floating IP to. Required if home_location is not set

hetzner_update_floating_ip Update Floating IP

Update a floating IP's name, description, or labels.

ParameterTypeDescription
id *integerFloating IP ID
descriptionstringNew description
labelsobjectLabels as key-value pairs
namestringNew name

hetzner_delete_floating_ip Delete Floating IP

Delete a floating IP permanently. Since 2026-05-01 the floating IP must be unassigned first; otherwise the API returns the must_be_unassigned error code.

ParameterTypeDescription
id *integerFloating IP ID

hetzner_assign_floating_ip Assign Floating IP

Assign a floating IP to a server in the same location.

ParameterTypeDescription
id *integerFloating IP ID
server *integerServer ID to assign the floating IP to

hetzner_unassign_floating_ip Unassign Floating IP

Unassign a floating IP from the server it is currently assigned to.

ParameterTypeDescription
id *integerFloating IP ID

hetzner_change_floating_ip_rdns Change Floating IP Reverse DNS

Change the reverse DNS entry for a floating IP. Set dns_ptr to null to reset.

ParameterTypeDescription
dns_ptr *string | nullReverse DNS PTR record value, or null to reset
id *integerFloating IP ID
ip *stringIP address to set the reverse DNS entry for

hetzner_change_floating_ip_protection Change Floating IP Protection

Enable or disable delete protection on a floating IP to guard against accidental destruction.

ParameterTypeDescription
id *integerFloating IP ID
deletebooleanIf true, prevents the floating IP from being deleted

hetzner_list_floating_ip_actions List Floating IP Actions

List all actions performed on a specific floating IP, such as assign, unassign, and rDNS changes.

ParameterTypeDescription
id *integerFloating IP ID
pageintegerPage number
per_pageintegerResults per page (max 50)
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields
statusFilter by action status: "running", "success", or "error"; pass an array for multiple statuses

hetzner_list_primary_ips List Primary IPs

List all primary IPs in the project, with optional filtering by name, label, or IP address.

ParameterTypeDescription
ipstringFilter by IP address
label_selectorstringLabel filter, e.g. "env=prod,tier=web"
namestringFilter by primary IP name
pageintegerPage number
per_pageintegerResults per page (max 50)
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields

hetzner_get_primary_ip Get Primary IP

Get details of a specific primary IP by ID.

ParameterTypeDescription
id *integerPrimary IP ID

hetzner_create_primary_ip Create Primary IP

Create a new primary IP with the specified type, optional location, and optional assignee type.

ParameterTypeDescription
name *stringName of the primary IP
type *stringIP type
assignee_idintegerServer ID to assign the primary IP to (create-and-assign in one call)
assignee_typestringAssignee type. Optional since 2026-04-27; defaults to "server" until 2026-08-01, then to "unassigned".
auto_deletebooleanDelete the primary IP when the assignee is deleted
labelsobjectLabels as key-value pairs
locationstringLocation name (e.g. "fsn1", "nbg1", "hel1")

hetzner_update_primary_ip Update Primary IP

Update a primary IP's name, auto_delete setting, or labels.

ParameterTypeDescription
id *integerPrimary IP ID
auto_deletebooleanDelete the primary IP when the assignee is deleted
labelsobjectLabels as key-value pairs
namestringNew name

hetzner_delete_primary_ip Delete Primary IP

Delete a primary IP permanently. Since 2026-05-01 the primary IP must be unassigned first; otherwise the API returns the must_be_unassigned error code.

ParameterTypeDescription
id *integerPrimary IP ID

hetzner_assign_primary_ip Assign Primary IP

Assign a primary IP to a server.

ParameterTypeDescription
assignee_id *integerServer ID to assign the primary IP to
assignee_type *stringAssignee type (must be "server")
id *integerPrimary IP ID

hetzner_unassign_primary_ip Unassign Primary IP

Unassign a primary IP from the server it is currently assigned to.

ParameterTypeDescription
id *integerPrimary IP ID

hetzner_change_primary_ip_rdns Change Primary IP Reverse DNS

Change the reverse DNS entry for a primary IP. Set dns_ptr to null to reset.

ParameterTypeDescription
dns_ptr *string | nullReverse DNS PTR record value, or null to reset
id *integerPrimary IP ID
ip *stringIP address to set the reverse DNS entry for

hetzner_change_primary_ip_protection Change Primary IP Protection

Enable or disable delete protection on a primary IP to guard against accidental destruction.

ParameterTypeDescription
id *integerPrimary IP ID
deletebooleanIf true, prevents the primary IP from being deleted

hetzner_list_primary_ip_actions List Primary IP Actions

List all actions performed on a specific primary IP, such as assign, unassign, and rDNS changes.

ParameterTypeDescription
id *integerPrimary IP ID
pageintegerPage number
per_pageintegerResults per page (max 50)
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields
statusFilter by action status: "running", "success", or "error"; pass an array for multiple statuses

hetzner_list_volumes List Volumes

List all volumes in the project, with optional filtering by name, label, or status.

ParameterTypeDescription
label_selectorstringLabel filter, e.g. "env=prod,tier=web"
namestringFilter by volume name
pageintegerPage number
per_pageintegerResults per page (max 50)
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields
statusstringFilter by volume status

hetzner_get_volume Get Volume

Get details of a specific volume by ID.

ParameterTypeDescription
id *integerVolume ID

hetzner_create_volume Create Volume

Create a new volume. Either location or assignee must be provided to determine placement.

ParameterTypeDescription
name *stringName of the volume
size *integerSize of the volume in GB
assigneeobjectResource to attach the volume to once created; the volume is created in its location
automountbooleanAuto-mount the volume after attaching it to the assignee
formatstringFilesystem format for the volume
labelsobjectLabels as key-value pairs
locationstringLocation name (e.g. "fsn1"). Required if no assignee is set
serverintegerDeprecated alias for assignee {id: server, type: "server"}; do not combine with assignee

hetzner_update_volume Update Volume

Update a volume's name or labels.

ParameterTypeDescription
id *integerVolume ID
labelsobjectLabels as key-value pairs
namestringNew volume name

hetzner_delete_volume Delete Volume

Delete a volume permanently. The volume must be detached from any server.

ParameterTypeDescription
id *integerVolume ID

hetzner_attach_volume Attach Volume

Attach a volume to a resource such as a server. The resource and volume must be in the same location.

ParameterTypeDescription
id *integerVolume ID
assigneeobjectResource to attach the volume to; required unless the deprecated server is set
automountbooleanAuto-mount the volume after attaching
serverintegerDeprecated alias for assignee {id: server, type: "server"}; do not combine with assignee

hetzner_detach_volume Detach Volume

Detach a volume from the server it is attached to.

ParameterTypeDescription
id *integerVolume ID

hetzner_resize_volume Resize Volume

Increase the size of a volume. Volumes can only be made larger, not smaller.

ParameterTypeDescription
id *integerVolume ID
size *integerNew size of the volume in GB (must be larger than current size)

hetzner_change_volume_protection Change Volume Protection

Enable or disable delete protection on a volume to guard against accidental destruction.

ParameterTypeDescription
id *integerVolume ID
deletebooleanIf true, prevents the volume from being deleted

hetzner_list_volume_actions List Volume Actions

List all actions performed on a specific volume, such as attach, detach, and resize operations.

ParameterTypeDescription
id *integerVolume ID
pageintegerPage number
per_pageintegerResults per page (max 50)
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields
statusFilter by action status: "running", "success", or "error"; pass an array for multiple statuses

hetzner_list_images List Images

List all available images, including system, snapshot, and backup images.

ParameterTypeDescription
architecturestringFilter by CPU architecture
bound_toFilter backup images by linked server ID; pass an array for multiple servers
include_deprecatedbooleanWhether to include deprecated images
label_selectorstringLabel filter, e.g. "env=prod,tier=web"
namestringFilter by image name
pageintegerPage number
per_pageintegerResults per page (max 50)
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields
statusstringFilter by image status
typestringFilter by image type

hetzner_get_image Get Image

Get details of a specific image by ID.

ParameterTypeDescription
id *integerImage ID

hetzner_update_image Update Image

Update an image's description, type, or labels.

ParameterTypeDescription
id *integerImage ID
descriptionstringNew image description
labelsobjectLabels as key-value pairs
typestringImage type (only snapshot allowed for conversion)

hetzner_delete_image Delete Image

Permanently delete a snapshot or backup image.

ParameterTypeDescription
id *integerImage ID

hetzner_create_image Create Image

Create a snapshot image from an existing server.

ParameterTypeDescription
server_id *integerServer ID to create the image from
descriptionstringImage description
labelsobjectLabels as key-value pairs
typestringImage type (default: snapshot)

hetzner_change_image_protection Change Image Protection

Enable or disable delete protection on a snapshot or backup image to guard against accidental destruction.

ParameterTypeDescription
id *integerImage ID
deletebooleanIf true, prevents the image from being deleted

hetzner_list_image_actions List Image Actions

List all actions performed on a specific image, such as snapshot creation and protection changes.

ParameterTypeDescription
id *integerImage ID
pageintegerPage number
per_pageintegerResults per page (max 50)
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields
statusFilter by action status: "running", "success", or "error"; pass an array for multiple statuses

hetzner_list_storage_boxes List Storage Boxes

List all Storage Boxes in the project, with optional filtering by name or labels.

ParameterTypeDescription
label_selectorstringLabel filter, e.g. "env=prod,tier=web"
namestringFilter by name
pageintegerPage number
per_pageintegerResults per page (max 50)
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields

hetzner_create_storage_box Create Storage Box

Create a new Storage Box in the given location and type. Billing applies for the provisioned resource.

ParameterTypeDescription
location *stringID or name of the location, e.g. "fsn1"
name *stringName of the Storage Box
password *stringPassword for the Storage Box main account
storage_box_type *stringID or name of the Storage Box type, e.g. "bx20"
access_settingsobjectInitial access settings for the Storage Box
labelsobjectLabels as key-value pairs
ssh_keysarraySSH public keys in OpenSSH format to inject into the Storage Box

hetzner_get_storage_box Get Storage Box

Get details of a specific Storage Box by ID.

ParameterTypeDescription
id *integerStorage Box ID

hetzner_update_storage_box Update Storage Box

Update the name and/or labels of a Storage Box.

ParameterTypeDescription
id *integerStorage Box ID
labelsobjectLabels as key-value pairs
namestringNew name for the Storage Box

hetzner_delete_storage_box Delete Storage Box

Delete a Storage Box and all of its data permanently. The Storage Box must not be delete-protected.

ParameterTypeDescription
id *integerStorage Box ID

hetzner_list_storage_box_folders List Storage Box Folders

List the folders inside a Storage Box, optionally under a given path.

ParameterTypeDescription
id *integerStorage Box ID
pathstringDirectory path to list folders under (defaults to the root)

hetzner_list_storage_box_actions List Storage Box Actions

List all actions performed on a specific Storage Box, such as type changes and password resets.

ParameterTypeDescription
id *integerStorage Box ID
pageintegerPage number
per_pageintegerResults per page (max 50)
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields
statusFilter by action status: "running", "success", or "error"; pass an array for multiple statuses

hetzner_change_storage_box_protection Change Storage Box Protection

Enable or disable delete protection on a Storage Box to guard against accidental destruction.

ParameterTypeDescription
id *integerStorage Box ID
deletebooleanIf true, prevents the Storage Box from being deleted

hetzner_change_storage_box_type Change Storage Box Type

Change the type (capacity tier) of a Storage Box. The new type must have at least the current usage capacity.

ParameterTypeDescription
id *integerStorage Box ID
storage_box_type *stringID or name of the target Storage Box type, e.g. "bx30"

hetzner_reset_storage_box_password Reset Storage Box Password

Reset the password of a Storage Box main account to the supplied value.

ParameterTypeDescription
id *integerStorage Box ID
password *stringNew password for the Storage Box main account

hetzner_update_storage_box_access_settings Update Storage Box Access Settings

Update which access protocols (SSH, Samba, WebDAV, ZFS, external reachability) are enabled on a Storage Box.

ParameterTypeDescription
id *integerStorage Box ID
reachable_externallybooleanWhether the Storage Box is reachable from outside the Hetzner network
samba_enabledbooleanWhether Samba/CIFS access is enabled
ssh_enabledbooleanWhether SSH/SFTP/SCP access is enabled
webdav_enabledbooleanWhether WebDAV access is enabled
zfs_enabledbooleanWhether the ZFS snapshot directory is exposed

hetzner_rollback_storage_box_snapshot Rollback Storage Box Snapshot

Roll a Storage Box back to a snapshot. This overwrites current data with the snapshot contents.

ParameterTypeDescription
id *integerStorage Box ID
snapshot *stringName of the snapshot to roll back to

hetzner_enable_storage_box_snapshot_plan Enable Storage Box Snapshot Plan

Enable or update the automatic snapshot plan for a Storage Box (schedule and retention).

ParameterTypeDescription
hour *integerHour of the day to run the snapshot (0-23, UTC)
id *integerStorage Box ID
max_snapshots *integerMaximum number of automatic snapshots to retain
minute *integerMinute of the hour to run the snapshot (0-59)
day_of_monthDay of month to run monthly (1-31), or null
day_of_weekDay of week to run weekly (1=Monday .. 7=Sunday), or null

hetzner_disable_storage_box_snapshot_plan Disable Storage Box Snapshot Plan

Disable the automatic snapshot plan for a Storage Box. Existing snapshots are kept.

ParameterTypeDescription
id *integerStorage Box ID

hetzner_list_storage_box_types List Storage Box Types

List all available Storage Box types with their capacity, limits, and pricing.

ParameterTypeDescription
namestringFilter by name
pageintegerPage number
per_pageintegerResults per page (max 50)

hetzner_get_storage_box_type Get Storage Box Type

Get details of a specific Storage Box type by ID, including capacity and pricing.

ParameterTypeDescription
id *integerStorage Box type ID

hetzner_list_storage_box_snapshots List Storage Box Snapshots

List the snapshots of a Storage Box, with optional filtering by name, labels, or automatic-vs-manual.

ParameterTypeDescription
id *integerStorage Box ID
is_automaticbooleanFilter by whether the snapshot was created by the snapshot plan
label_selectorstringLabel filter, e.g. "env=prod,tier=web"
namestringFilter by name
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields

hetzner_create_storage_box_snapshot Create Storage Box Snapshot

Create a manual snapshot of a Storage Box, optionally with a description and labels.

ParameterTypeDescription
id *integerStorage Box ID
descriptionstringHuman-readable description for the snapshot
labelsobjectLabels as key-value pairs

hetzner_get_storage_box_snapshot Get Storage Box Snapshot

Get details of a specific Storage Box snapshot by ID.

ParameterTypeDescription
id *integerStorage Box ID
snapshot_id *integerSnapshot ID

hetzner_update_storage_box_snapshot Update Storage Box Snapshot

Update the description and/or labels of a Storage Box snapshot.

ParameterTypeDescription
id *integerStorage Box ID
snapshot_id *integerSnapshot ID
descriptionstringNew description for the snapshot
labelsobjectLabels as key-value pairs

hetzner_delete_storage_box_snapshot Delete Storage Box Snapshot

Delete a Storage Box snapshot permanently.

ParameterTypeDescription
id *integerStorage Box ID
snapshot_id *integerSnapshot ID

hetzner_list_storage_box_subaccounts List Storage Box Subaccounts

List the subaccounts of a Storage Box, with optional filtering by name, username, or labels.

ParameterTypeDescription
id *integerStorage Box ID
label_selectorstringLabel filter, e.g. "env=prod,tier=web"
namestringFilter by name
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields
usernamestringFilter by subaccount username

hetzner_create_storage_box_subaccount Create Storage Box Subaccount

Create a subaccount on a Storage Box, scoped to a home directory with its own password and access settings.

ParameterTypeDescription
home_directory *stringHome directory the subaccount is scoped to, e.g. "/backups/web"
id *integerStorage Box ID
password *stringPassword for the subaccount
access_settingsobjectInitial access settings for the subaccount
descriptionstringHuman-readable description for the subaccount
labelsobjectLabels as key-value pairs
namestringOptional display name for the subaccount

hetzner_get_storage_box_subaccount Get Storage Box Subaccount

Get details of a specific Storage Box subaccount by ID.

ParameterTypeDescription
id *integerStorage Box ID
subaccount_id *integerSubaccount ID

hetzner_update_storage_box_subaccount Update Storage Box Subaccount

Update the name, description, and/or labels of a Storage Box subaccount.

ParameterTypeDescription
id *integerStorage Box ID
subaccount_id *integerSubaccount ID
descriptionstringNew description for the subaccount
labelsobjectLabels as key-value pairs
namestringNew display name for the subaccount

hetzner_delete_storage_box_subaccount Delete Storage Box Subaccount

Delete a Storage Box subaccount permanently. Its home directory contents are not removed.

ParameterTypeDescription
id *integerStorage Box ID
subaccount_id *integerSubaccount ID

hetzner_change_storage_box_subaccount_home_directory Change Storage Box Subaccount Home Directory

Change the home directory a Storage Box subaccount is scoped to.

ParameterTypeDescription
home_directory *stringNew home directory for the subaccount, e.g. "/backups/db"
id *integerStorage Box ID
subaccount_id *integerSubaccount ID

hetzner_reset_storage_box_subaccount_password Reset Storage Box Subaccount Password

Reset the password of a Storage Box subaccount to the supplied value.

ParameterTypeDescription
id *integerStorage Box ID
password *stringNew password for the subaccount
subaccount_id *integerSubaccount ID

hetzner_update_storage_box_subaccount_access_settings Update Storage Box Subaccount Access Settings

Update the access settings (read-only, SSH, Samba, WebDAV, external reachability) of a Storage Box subaccount.

ParameterTypeDescription
id *integerStorage Box ID
subaccount_id *integerSubaccount ID
reachable_externallybooleanWhether the subaccount is reachable from outside the Hetzner network
readonlybooleanWhether the subaccount has read-only access
samba_enabledbooleanWhether Samba/CIFS access is enabled for the subaccount
ssh_enabledbooleanWhether SSH/SFTP/SCP access is enabled for the subaccount
webdav_enabledbooleanWhether WebDAV access is enabled for the subaccount

hetzner_list_ssh_keys List SSH Keys

List all SSH keys in the project, with optional filtering by name, label, or fingerprint.

ParameterTypeDescription
fingerprintstringFilter by SSH key fingerprint
label_selectorstringLabel filter, e.g. "env=prod,tier=web"
namestringFilter by SSH key name
pageintegerPage number
per_pageintegerResults per page (max 50)
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields

hetzner_get_ssh_key Get SSH Key

Get details of a specific SSH key by ID.

ParameterTypeDescription
id *integerSSH key ID

hetzner_create_ssh_key Create SSH Key

Add a new SSH public key to the project for use when creating servers.

ParameterTypeDescription
name *stringName of the SSH key
public_key *stringSSH public key content (e.g. "ssh-rsa AAAA...")
labelsobjectLabels as key-value pairs

hetzner_update_ssh_key Update SSH Key

Update an SSH key's name or labels.

ParameterTypeDescription
id *integerSSH key ID
labelsobjectLabels as key-value pairs
namestringNew SSH key name

hetzner_delete_ssh_key Delete SSH Key

Delete an SSH key from the project permanently.

ParameterTypeDescription
id *integerSSH key ID

hetzner_list_isos List ISOs

List all available ISO images for mounting on servers.

ParameterTypeDescription
architecturestringFilter by CPU architecture
namestringFilter by ISO name
pageintegerPage number
per_pageintegerResults per page (max 50)

hetzner_get_iso Get ISO

Get details of a specific ISO image by ID.

ParameterTypeDescription
id *integerISO ID

hetzner_attach_iso Attach ISO to Server

Attach an ISO image to a server. The server must be rebooted to boot from the ISO.

ParameterTypeDescription
iso *stringISO name or ID to attach
server_id *integerServer ID to attach the ISO to

hetzner_detach_iso Detach ISO from Server

Detach an ISO image from a server. The server must be rebooted for the change to take effect.

ParameterTypeDescription
server_id *integerServer ID to detach the ISO from

hetzner_list_placement_groups List Placement Groups

List all placement groups in the project.

ParameterTypeDescription
label_selectorstringLabel filter, e.g. "env=prod,tier=web"
namestringFilter by placement group name
pageintegerPage number
per_pageintegerResults per page (max 50)
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields

hetzner_get_placement_group Get Placement Group

Get details of a specific placement group by ID.

ParameterTypeDescription
id *integerPlacement group ID

hetzner_create_placement_group Create Placement Group

Create a new placement group to control server distribution across hosts.

ParameterTypeDescription
name *stringName of the placement group
type *stringPlacement group type
labelsobjectLabels as key-value pairs

hetzner_update_placement_group Update Placement Group

Update a placement group's name or labels.

ParameterTypeDescription
id *integerPlacement group ID
labelsobjectLabels as key-value pairs
namestringNew placement group name

hetzner_delete_placement_group Delete Placement Group

Delete a placement group. All servers must be removed from it first.

ParameterTypeDescription
id *integerPlacement group ID

hetzner_list_zones List DNS Zones

List all DNS zones in the project, with optional filtering by name, mode (primary/secondary), or labels.

ParameterTypeDescription
label_selectorstringLabel filter, e.g. "env=prod,tier=web"
modestringFilter by zone mode
namestringFilter by name
pageintegerPage number
per_pageintegerResults per page (max 50)
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields

hetzner_get_zone Get DNS Zone

Get details of a specific DNS zone by its numeric ID or zone name (e.g. "example.com").

ParameterTypeDescription
id_or_name *Zone ID or name

hetzner_create_zone Create DNS Zone

Create a new DNS zone in primary or secondary mode. Optionally provide TTL, primary nameservers (for secondary), initial RRSets, or a zonefile.

ParameterTypeDescription
mode *stringZone mode: "primary" (managed here) or "secondary" (transferred from external primary)
name *stringFully qualified domain name of the zone, e.g. "example.com"
labelsobjectLabels as key-value pairs
primary_nameserversarrayPrimary nameservers (required for secondary zones)
rrsetsarrayInitial RRSets to create with the zone
ttlintegerDefault TTL in seconds for records in this zone
zonefilestringInitial zone content in RFC 1035 zonefile format (alternative to rrsets)

hetzner_update_zone Update DNS Zone

Update a DNS zone's labels. Other zone properties are managed via dedicated change_* action tools.

ParameterTypeDescription
id_or_name *Zone ID or name
labelsobjectLabels as key-value pairs

hetzner_delete_zone Delete DNS Zone

Delete a DNS zone and all of its RRSets permanently. The zone must not be delete-protected.

ParameterTypeDescription
id_or_name *Zone ID or name

hetzner_export_zonefile Export DNS Zonefile

Export the current contents of a DNS zone as an RFC 1035 zonefile string.

ParameterTypeDescription
id_or_name *Zone ID or name

hetzner_import_zonefile Import DNS Zonefile

Replace the contents of a DNS zone with the given RFC 1035 zonefile. This overwrites all existing RRSets.

ParameterTypeDescription
id_or_name *Zone ID or name
zonefile *stringFull zone content in RFC 1035 zonefile format

hetzner_change_zone_protection Change DNS Zone Protection

Enable or disable delete protection on a DNS zone to guard against accidental destruction.

ParameterTypeDescription
id_or_name *Zone ID or name
deletebooleanIf true, prevents the zone from being deleted

hetzner_change_zone_ttl Change DNS Zone Default TTL

Change the default TTL applied to records in a DNS zone that do not have an explicit TTL.

ParameterTypeDescription
id_or_name *Zone ID or name
ttl *integerNew default TTL in seconds

hetzner_change_zone_primary_nameservers Change DNS Zone Primary Nameservers

Replace the list of primary nameservers used by a secondary DNS zone for AXFR/IXFR transfers.

ParameterTypeDescription
id_or_name *Zone ID or name
primary_nameservers *arrayNew full list of primary nameservers

hetzner_list_zone_actions List DNS Zone Actions

List all actions performed on a specific DNS zone, such as imports, TTL changes, and protection toggles.

ParameterTypeDescription
id_or_name *Zone ID or name
pageintegerPage number
per_pageintegerResults per page (max 50)
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields
statusFilter by action status: "running", "success", or "error"; pass an array for multiple statuses

hetzner_list_zone_rrsets List DNS Zone RRSets

List all RRSets in a DNS zone, with optional filtering by name, type, or labels.

ParameterTypeDescription
id_or_name *Zone ID or name
label_selectorstringLabel filter, e.g. "env=prod,tier=web"
namestringFilter by name
pageintegerPage number
per_pageintegerResults per page (max 50)
sortSort field, e.g. "id:asc" or "name:desc"; pass an array for multiple sort fields
typearrayFilter by one or more record types

hetzner_get_zone_rrset Get DNS Zone RRSet

Get a specific RRSet by zone, name, and record type.

ParameterTypeDescription
id_or_name *Zone ID or name
name *stringRRSet name (e.g. "@", "www", "_acme-challenge")
type *stringDNS record type (A, AAAA, CNAME, MX, NS, TXT, etc.)

hetzner_create_zone_rrset Create DNS Zone RRSet

Create a new RRSet (record set) inside a DNS zone.

ParameterTypeDescription
id_or_name *Zone ID or name
name *stringRRSet name (e.g. "@", "www", "_acme-challenge")
type *stringDNS record type (A, AAAA, CNAME, MX, NS, TXT, etc.)
labelsobjectLabels as key-value pairs
recordsarrayRecords belonging to this RRSet
ttlintegerTTL in seconds for records in this RRSet

hetzner_update_zone_rrset Update DNS Zone RRSet

Update an RRSet's labels. Records and TTL are managed via dedicated action tools.

ParameterTypeDescription
id_or_name *Zone ID or name
name *stringRRSet name
type *stringDNS record type (A, AAAA, CNAME, MX, NS, TXT, etc.)
labelsobjectLabels as key-value pairs

hetzner_delete_zone_rrset Delete DNS Zone RRSet

Delete an RRSet from a DNS zone permanently. The RRSet must not be change-protected.

ParameterTypeDescription
id_or_name *Zone ID or name
name *stringRRSet name
type *stringDNS record type (A, AAAA, CNAME, MX, NS, TXT, etc.)

hetzner_change_zone_rrset_protection Change DNS Zone RRSet Protection

Enable or disable change protection on an RRSet to guard against accidental modification or deletion.

ParameterTypeDescription
id_or_name *Zone ID or name
name *stringRRSet name
type *stringDNS record type (A, AAAA, CNAME, MX, NS, TXT, etc.)
changebooleanIf true, prevents the RRSet from being modified or deleted

hetzner_change_zone_rrset_ttl Change DNS Zone RRSet TTL

Change the TTL of an RRSet. Pass ttl=null to fall back to the zone default TTL.

ParameterTypeDescription
id_or_name *Zone ID or name
name *stringRRSet name
ttl *New TTL in seconds, or null to fall back to the zone default
type *stringDNS record type (A, AAAA, CNAME, MX, NS, TXT, etc.)

hetzner_set_zone_rrset_records Set DNS Zone RRSet Records

Replace the full list of records in an RRSet. Existing records not in the payload are removed.

ParameterTypeDescription
id_or_name *Zone ID or name
name *stringRRSet name
records *arrayFull replacement list of records for this RRSet
type *stringDNS record type (A, AAAA, CNAME, MX, NS, TXT, etc.)

hetzner_add_zone_rrset_records Add Records to DNS Zone RRSet

Add new records to an existing RRSet without removing existing ones. Optionally update the RRSet TTL.

ParameterTypeDescription
id_or_name *Zone ID or name
name *stringRRSet name
records *arrayRecords to add to the RRSet
type *stringDNS record type (A, AAAA, CNAME, MX, NS, TXT, etc.)
ttlintegerOptional new TTL applied alongside the addition

hetzner_update_zone_rrset_records Update DNS Zone RRSet Record Comments

Update the comment on existing records in an RRSet (matched by value). The comment field is always sent — use an empty string to clear.

ParameterTypeDescription
id_or_name *Zone ID or name
name *stringRRSet name
records *arrayRecords to update
type *stringDNS record type (A, AAAA, CNAME, MX, NS, TXT, etc.)

hetzner_remove_zone_rrset_records Remove Records from DNS Zone RRSet

Remove specific records from an RRSet (matched by value) without deleting the RRSet itself.

ParameterTypeDescription
id_or_name *Zone ID or name
name *stringRRSet name
records *arrayRecords to remove (matched by value)
type *stringDNS record type (A, AAAA, CNAME, MX, NS, TXT, etc.)