• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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