• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question How do I list Web Users with the XML API in Plesk Obsidian?

Reinier Post

New Pleskian
Server operating system version
CentOS 7.9
Plesk version and microupdate number
18.0.59 CentOS 7 1800240229.10
I am planning to migrate around 150 old-style websites (on a single domain) to a Plesk Obsidian installation, and web users would be a perfect fit.

We are a reseller, not administrator, without root rights on the Linux host; we do have access to the XML API.
I've been using it for reporting; and now I want to use it to list and create web users.

Plesk offers a separate command line utility for this, which I can't use due to lack of permissions.

Previous versions of the XML API supported a webuser request for this purpose (see e.g. http://plesk.github.io/api-schemas/1.6.8.0/agent_input.svg and search for webuser) but the present version doesn't (see http://plesk.github.io/api-schemas/1.6.9.1/agent_input.svg) and when I send a webuser request using version 1.6.8.0, I get permission denied.

This is an issue, because it used to be supported, and I want to create lots of web users, and I need to be able to list them afterwards.

Why did this go away? Is the web user feature deprecated? Is there an alternative way in the XML API to list and manipulate webusers now; if so, how?
 
Thank you, Kaspar, for the swift reply and the pointer. I couldn't find an announcement like that.
Unfortunately, the support article isn't quite correct:
  1. It says ftp-user is no longer supported in Onyx (API version 1.6.8.0), but it is still supported in 1.6.9.1, and I rely on it, too.
  2. It says webuser is no longer supported in Onyx (API version 1.6.8.0) but it is still in there (it is absent in 1.6.9.1); I just get permission denied when I use it.
I wonder why operators are removed for lack of popularity; no doubt continuing them requires some work, but having an incomplete API is bad. I don't want to use web users (or ftp users) if I can't list them with the API.

It would be a different matter if support for webusers were removed from Plesk altogether.
 
Back
Top