• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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