• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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