• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Question Help setting/updating values using PleskX API PHP

Fernando Ok

New Pleskian
Hello plesk team and customers,

I'm trying to set|update values of customer/webspace....

I know method of create, get and delete, but i can't change any existent value... ¿what is set/update/change method?

Create Customer example:
Code:
$client->customer()->create([
    'cname' => 'Plesk',
    'pname' => 'John Smith',
    'login' => 'john',
    'passwd' => 'secret',
    'email' => '[email protected]',
]);

Getting Customer data example:
Code:
$client->customer()->get('id', {ID_HERE} );

Deleting Customer example:
Code:
$client->customer()->delete('id', {ID_HERE} );

HOW TO SET/UPDATE/CHANGE?
Code:
$client->customer()->?????????????????????

Please, help with this question, i'm read thousands pages without any success...
 
Back
Top