NAME

WWW::Hetzner::Robot::API::Reset - Hetzner Robot Server Reset API

VERSION

version 0.001

SYNOPSIS

my $robot = WWW::Hetzner::Robot->new(...);

# Check reset options
my $reset_info = $robot->reset->get(123456);

# Execute reset
$robot->reset->execute(123456, 'sw');   # software reset
$robot->reset->execute(123456, 'hw');   # hardware reset
$robot->reset->execute(123456, 'man');  # manual reset

# Convenience methods
$robot->reset->software(123456);
$robot->reset->hardware(123456);
$robot->reset->manual(123456);

# Wake-on-LAN
$robot->reset->wol(123456);

NAME

WWW::Hetzner::Robot::API::Reset - Hetzner Robot Server Reset API

RESET TYPES

  • sw - Software reset (CTRL+ALT+DEL)

  • hw - Hardware reset (power cycle)

  • man - Manual reset (technician intervention)

METHODS

get

my $info = $robot->reset->get($server_number);

Returns available reset options.

execute

$robot->reset->execute($server_number, $type);

Execute reset of specified type.

software / hardware / manual

Convenience methods for specific reset types.

wol

$robot->reset->wol($server_number);

Send Wake-on-LAN packet.

SUPPORT

Source Code

The code is open to the world, and available for you to hack on. Please feel free to browse it and play with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull from your repository :)

https://github.com/Getty/p5-www-hetzner

git clone https://github.com/Getty/p5-www-hetzner.git

AUTHOR

Torsten Raudssus <torsten@raudssus.de>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.