NAME

API::Plesk::Customer - Managing customer accounts.

SYNOPSIS

$api = API::Plesk->new(...);
$response = $api->customer->add(..);
$response = $api->customer->get(..);
$response = $api->customer->set(..);
$response = $api->customer->del(..);

DESCRIPTION

Module manage customer accounts.

METHODS

add(%params)

Method adds customer to Plesk Panel.

%params = (
    # required
    gen_info => {
        pname => 'Mike',
        login => 'mike',
        passwd => '12345',
        ...            
    }
);
get(%params)

Method gets customer data.

%params = (
    filter => {...}
);
set(%params)

Method sets customer data.

%params = (
    filter   => {...},
    gen_info => {...}
);
del(%params)

Method deletes customer from Plesk Panel.

%params = (
    filter => {...}
);

AUTHOR

Ivan Sokolov <lt>ivsokolov@cpan.org<gt>