• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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