NAME
WWW::Hetzner::Storage::Subaccount - Hetzner Storage Box Subaccount object
VERSION
version 0.101
SYNOPSIS
my $subaccount = $box->subaccounts->get($id);
$subaccount->description('application backup account');
my $updated = $subaccount->update;
DESCRIPTION
Represents a Storage Box subaccount returned by WWW::Hetzner::Storage::API::Subaccounts.
id
Subaccount ID (read-only).
storage_box
ID of the parent Storage Box (read-only).
name
Subaccount name (read-write).
home_directory
Home directory path (read-only).
access_settings
Access settings data (read-only).
description
Subaccount description (read-write).
labels
Labels hashref (read-write).
username
Subaccount username (read-only).
server
Subaccount server data (read-only).
created
Creation timestamp (read-only).
update
my $updated = $subaccount->update;
Saves the object's current name, description, and labels. Returns the updated Subaccount.
delete
my $action = $subaccount->delete;
Deletes this subaccount and returns its action.
change_home_directory
my $action = $subaccount->change_home_directory(
home_directory => '/home/new-user',
);
Changes this subaccount's home directory and returns its action.
reset_subaccount_password
my $action = $subaccount->reset_subaccount_password(password => 'secret');
Resets this subaccount's password and returns its action.
update_access_settings
my $action = $subaccount->update_access_settings(%settings);
Updates this subaccount's access settings and returns its action.
data
my $hashref = $subaccount->data;
Returns the complete Subaccount representation returned by the API.
SEE ALSO
WWW::Hetzner::Storage::API::Subaccounts - Subaccount controller
WWW::Hetzner::Storage::StorageBox - Parent Storage Box entity
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-www-hetzner/issues.
IRC
Join #kubernetes on irc.perl.org or message Getty directly.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHOR
Torsten Raudssus <torsten@raudssus.de>
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.